Hello Kevin,
please, read "Appendix A - Using suffixes" of glpk-4.45/doc/gmpl.pdf.
You can create customized output using the printf statement, e.g.
...
solve;
printf "dual value of constraint c1:%g\n", c1.dual;
Best regards
Xypron
Kevin Hunter wrote:
At 1:50pm -0500 Thu, 27 Jan 2011, Xypron wrote:
I'm looking to machine-parse the sensitivity information of a
problem. Is my only option to use glp_print_ranges?
you can use the following functions to collect the information without
parsing a text file:
[glp_get_* functions]
I should have been more specific, in that I am talking about the
--ranges command line option. In this context, I do not have access
to the API, so must find a way of getting the information from a text
file.
I'm hoping that there is a more machine-friendly version of the
--ranges output.
Thanks,
Kevin
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk