help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] LP files and machine-parseable sensitivity output?


From: Andrew Makhorin
Subject: Re: [Help-glpk] LP files and machine-parseable sensitivity output?
Date: Mon, 05 Dec 2011 09:38:06 +0300

> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]