Hullo Andrew, List,

I had need of an unambiguous version (for machine parsing) of the output provided by the glp_print_* functions. Consequently, I've created an equivalent set of glp_csv_* functions. With this patch, one can use a --csv <file> flag:

$ glpsol --lp test.lp --csv solution.csv

This patch adds three glp_csv_{sol,ipt,mip} functions and a couple of miscellaneous helper functions to the glpk-4.45 tarball.

I'm rather new to GLPK's code base, but I think I've my ducks in a row. Specifically, Xypron, if you have some time, I would much appreciate a code review.

Thanks, and I hope this proves useful to others.

Cheers,

Kevin

Attachment: glpk_csv.patch.gz
Description: GNU Zip compressed data

_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to