<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Satish,<br>
<br>
Please note that CBC will exit as soon as the lower bound reaches
the upper bound - unless you "slowdown" this event (disabling all
cuts?) CBC will not find *all* optimal solutions. That said, you can
configure how many solutions will be saved and access then (in C++)
using:<br>
<br>
bool CbcModel::setMaximumSolutions(int value)<br>
const double* CbcModel::savedSolution(int which) const<br>
<br>
Cheers,<br>
<br>
Haroldo<br>
<br>
On 21-02-2012 06:50, satish amirisetti wrote:
<blockquote
cite="mid:CAC=ZjbydP6oNQ+drTsxuueqn6Kp=7RTDdG+gw0hiYgsfD2UPWA@mail.gmail.com"
type="cite">Hi all,<br>
I am using pyomo with Cbc as solver to solve a
problem for which i have multiple optimal solutions. How can I get
all the solutions available from Cbc solution pool. Please help
me.<br>
<br>
<br>
Thanks,<br>
Satish<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Cbc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
=============================================================
Haroldo Gambini Santos
Computing Department - Universidade Federal de Ouro Preto - UFOP
email: haroldo [at ] iceb.ufop.br
haroldo.santos [at] gmail.com
home/research page: <a class="moz-txt-link-abbreviated" href="http://www.decom.ufop.br/haroldo/">www.decom.ufop.br/haroldo/</a>
</pre>
</body>
</html>