help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Processing glpsol output with R (was: Need help on inter


From: Andrew Makhorin
Subject: Re: [Help-glpk] Processing glpsol output with R (was: Need help on interval planning constraint)
Date: Tue, 29 Dec 2009 20:50:17 +0300

Hi Robbie,

> [As a suggestion to Andrew, it might be cleaner for the
> '--write' option to state something like "LP" or "MIP"
> in the opening line to unambiguously indicate the
> problem class -- or perhaps even give a finer
> resolution, for instance "mixed-integer", "mixed-01",
> etc).  Note too that the now depreciated 'lpx_get_class'
> call used to provide at least some of this information.]

Thank you for the suggestion.

I think that it is reasonable to include in glpk some api routines
to read and write lp/mip instances as well as basic/interior-point/mip
solution from/to a text file in a more convenient format, which would
include row/column names. A DIMACS-like format seems to me most
suitable, because it allows easily using standard text utilities like
sed, gawk, etc. Using XML seems to me much more tricky and much less
convenient for processing out of glpk.


Andrew Makhorin





reply via email to

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