> 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. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
