> I have a program that spits out LP files, which I then give to GLPK via > the --lp command line argument. Is there a machine-friendly version of > --ranges? > > Since learning about the tandem use of --write and --wglp via the > Wikibooks Interoperability page[1], I'm now wishing I had a similar > format to work with for the sensitivity information. As I'm limited to > LP files as my only means of input to GLPK, GMPL is not an option for > me. Is there a file-based avenue for acquiring machine-parseable > sensitivity information from GLPK that I have not yet discovered? >
Such a feature is not implemented. However, you can obtain the sensitivity analysis information by using the glpk api routines glp_analyze_bound and glp_analyze_coef. Another way is to patch the routine glp_print_ranges (which is used by glpsol) to output the analysis report in the format you need. For details please see the glpk reference manual (doc/glpk.pdf) included in the distribution. _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
