help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Store model-object


From: Andrew Makhorin
Subject: Re: [Help-glpk] Store model-object
Date: Wed, 24 Feb 2010 14:52:34 +0300

> im using pymathprog and i`d like to know if it is possible to store a
> lpx-object so that the model object must only be generated one time.
> This would be very advantageous because if you want to evaluate the
> same model again, you only have to reference the stored version of it
> and you can save the time the solver needs to generate the model. is
> this somehow possible with glpk?

In glpk v4.43 there exist three api routines to write the problem
object to a text file: glp_write_prob, glp_write_mps, and glp_write_lp.
Corresponding glpsol options are: --wglp, --wmps or --wfreemps, and
--wlp, resp. For more details please see the reference manual included
in the glpk distribution.





reply via email to

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