|
From: | Andrew Makhorin |
Subject: | Re: [Help-glpk] MIP Solvers (i.e CBC, CPLEX, GLPK, GUROBI, LPSOLVE, SCIPC, SCIPL, SCIPS and XPRESS) Benchmark |
Date: | Mon, 19 Nov 2012 10:49:33 +0400 |
> 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 .
[Prev in Thread] | Current Thread | [Next in Thread] |