[Cbc] get multiple solutions
Gabrielle A. Grun
grun at cs.sfu.ca
Mon Feb 1 18:47:17 EST 2010
Hi Matthew,
CbcModel.hpp contains a member variable called savedSolutions_
/// Arrays holding other solutions.
double ** savedSolutions_;
However, there no access function (excepted for the maximum number of saved
solutions, and it may not be properly assigned values.
Perhaps setting it here in setBestSolution would work:
--------HERE
delete [] solution;
return ;
}
Gabrielle
----- Original Message -----
From: Matthew Galati
To: Gabrielle A. Grun
Sent: Monday, February 01, 2010 5:51 AM
Subject: RE: [Cbc] get multiple solutions
Just integer solutions.
From: Gabrielle A. Grun [mailto:grun at cs.sfu.ca]
Sent: Friday, January 29, 2010 12:24 AM
To: Matthew Galati
Subject: Re: [Cbc] get multiple solutions
Hi Matt,
I doubt that it has been done, Are you referring to just integer solutions
or optimal answers? Thanks.
Gabrielle
----- Original Message -----
From: Matthew Galati
To: cbc at list.coin-or.org
Sent: Thursday, January 28, 2010 1:49 PM
Subject: [Cbc] get multiple solutions
I recall a discussion a while back about CBC being able to store many
solutions (those found while searching). Was that ever implemented? If so,
how do I access the solutions? I don't see anything in the CbcModel API.
Thanks,
Matt
_______________________________________________
Cbc mailing list
Cbc at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/cbc
Gabrielle A. Grün, Ph.D. Student
School of Computing Science
Simon Fraser University
8888 University Drive
Burnaby, BC
V5A 1S6
<http://www.cs.sfu.ca/~grun>
Gabrielle A. Grün, Ph.D. Student
School of Computing Science
Simon Fraser University
8888 University Drive
Burnaby, BC
V5A 1S6
<http://www.cs.sfu.ca/~grun>
More information about the Cbc
mailing list