Possible CBC bug (was "Re: [Coin-discuss] CBC feasibility pump heuristic")
Sebastian Nowozin
nowozin at gmail.com
Mon Aug 6 07:46:07 EDT 2007
Hello John,
thanks for the reply. Today I had time to try the latest Cbc trunk
(20070806) but I think I hit on a bug in Cbc. So far I only used Cbc
1.1.x, not trunk.
Using the trunk version, the attached AMPL model returns an infeasible
solution as optimal, after just about a second of computation.
Using the 1.1.1 version properly goes on to try to solve this hard model
(takes forever).
I also converted the model using GLPK to the MPS format (glpsol --check
--math cbc-bug-mathprog.mod --wfreemps cbc-bug-mathprog.mps). The
resulting MPS file can be read in and solved by both 1.1.1 and today's
trunk. (I.e. I do not obtain optimal solutions in any case but it
computes for more than one second and the output indicates reasonable
feasible objective function values).
I hope this helps in identifying whether this is a bug in cbc trunk or
not. I attached the original model (cbc-bug.mod), the MathProg version
(cbc-bug-mathprog.mod) and the MPS file (cbc-bug-mathprog.mps.gz)
Sebastian
John J Forrest wrote:
> The answer of course is neither :-)
>
> If you use the standalone cbc then it will go round again if it gets a
> solution and try and get a better one. With some options it will also try
> a mini branch and bound fixing all variables which did not move on any
> pass. I can't remember what I put in code - if you start cbc and then type
> -
>
> feas??
> passf??
> pumpt??
>
> you will get some incomprehensible help - try pumptune 1008003 for
> example!!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cbc-bug-mathprog.mps.gz
Type: application/gzip
Size: 18246 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20070806/c614cbbc/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cbc-bug.mod
Type: audio/x-mod
Size: 3694 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20070806/c614cbbc/attachment.mod>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cbc-bug-mathprog.mod
Type: audio/x-mod
Size: 3586 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20070806/c614cbbc/attachment-0001.mod>
More information about the Coin-discuss
mailing list