[Cbc] decide on feasible solution after (time/node) limit exceed
John J Forrest
jjforre at us.ibm.com
Wed Jun 27 10:04:20 EDT 2007
Will look at it.
for now test bestSolution - if not NULL then has best solution
John Forrest
Stefan Vigerske
<stefan at math.hu-b
erlin.de> To
Sent by: cbc at list.coin-or.org
cbc-bounces at list. cc
coin-or.org
Subject
Re: [Cbc] decide on feasible
06/27/07 09:31 AM solution after (time/node) limit
exceed
Hi,
please find attached a simple program and model which illustrates the
problem.
Stefan Vigerske wrote:
> Hi,
>
> when Cbc exists with an exceed of time or node limit, how do I decide
> whether a feasible solution has been found?
> For one model, I tried bool CbcModel::feasibleSolution(int &
> numberIntegerInfeasibilities, int & numberObjectInfeasibilities), but it
> report true and no infeasibilities, even though Cbc has not find a
> feasible point ("best objective 1E+50").
> Also the point that I get with CbcModel::solver()->getColSolution() is
> not integer feasible.
>
> Best,
> Stefan
>
--
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan
(See attached file: cbctest.cpp.gz)(See attached file: fixed.mps.gz)
_______________________________________________
Cbc mailing list
Cbc at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/cbc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cbctest.cpp.gz
Type: application/octet-stream
Size: 667 bytes
Desc: not available
Url : http://list.coin-or.org/pipermail/cbc/attachments/20070627/b597be2f/cbctest.cpp.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixed.mps.gz
Type: application/octet-stream
Size: 1356 bytes
Desc: not available
Url : http://list.coin-or.org/pipermail/cbc/attachments/20070627/b597be2f/fixed.mps.obj
More information about the Cbc
mailing list