> It seems that the generated FreeMPS and MPS could not be solved as
> well in GLPK/Mathrog CLI (i.e. glpsol).
> 
> However, nothing wrong with GLPK/MathProg generated FreeMPS and MPS
> MIP models. I check the other MIP models in example (e.g. bpp.mod)
> 
> glpsol --math bpp.mod --wfreemps bpp_fmps.mps
> 
> And this
> 
> glpsol --freemps  bpp_fmps.mps
> 
> Got the expected results.
> 
> However, this problem (below). The objective function = 0
> 

Looks like your instance is maximization while mps always assumes
minimization. You need either to change the objective sign in the
mathprog model or specify --max option for glpsol.

FYI: You can try to post your instance to the neos server; see
http://www.neos-server.org/neos/solvers/index.html .


_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to