Hi, MathProg model for Graph Coloring Problem is available in examples directory of GLPK distribution. I wanted to visualize the solution, by coloring nodes of the graph.
So I modified the color.mod, to output/spit a dot file and fed to Graphviz dot program to produce PS file. Attached is modified color.mod and output PS file. The number of colors are hard coded, attached model 'color.mod' could be improved to generated colors dynamically based on solution to graph coloring problem. -- Vijay Patil
color.mod
Description: Binary data
color.ps
Description: PostScript document
_______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
