<div dir="ltr">If I'm not missing something, your problem is an LP and Cbc would only return alternative optimal solutions for MILPs. Regardless, the instance you specified seems to have a unique optimum, both as an LP and an MILP.<div><br></div><div>Ted</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 3, 2020 at 10:39 PM Aby Subin <<a href="mailto:aby.subin@nutanix.com">aby.subin@nutanix.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div>
<div>
<div style="direction:ltr">Thanks Haroldo for the reply. But here, even pre-processing was turned off ( along with cut and heuristics) . Please refer the commands those were executed which are mentioned in original message. So, was expecting more solutions.
 Could you tell if I am doing something wrong here?</div>
<div><br>
</div>
<div style="direction:ltr">Regards</div>
<div style="direction:ltr">Aby</div>
</div>
<div><br>
</div>
<div>Get <a href="https://aka.ms/o0ukef" target="_blank">Outlook for iOS</a></div>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-5761612674275324006divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Haroldo Gambini Santos <<a href="mailto:haroldo@ufop.edu.br" target="_blank">haroldo@ufop.edu.br</a>><br>
<b>Sent:</b> Tuesday, March 3, 2020 11:11:02 PM<br>
<b>To:</b> Aby Subin <<a href="mailto:aby.subin@nutanix.com" target="_blank">aby.subin@nutanix.com</a>>; <a href="mailto:cbc@list.coin-or.org" target="_blank">cbc@list.coin-or.org</a> <<a href="mailto:cbc@list.coin-or.org" target="_blank">cbc@list.coin-or.org</a>><br>
<b>Subject:</b> Re: [Cbc] Multi Solutions for an LP solve using CBC solver</font>
<div> </div>
</div>
<div><font size="2"><span style="font-size:11pt">
<div>Hi,<br>
<br>
This options saves multiple solutions IF in the search process they are <br>
found.<br>
<br>
In this case pre-processing already finds the optimal one, so the search <br>
stops.<br>
<br>
Em 3/1/20 1:57 PM, Aby Subin escreveu:<br>
> Hi all,<br>
><br>
> As per the <br>
> <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_pipermail_cbc_2012-2DFebruary_000766.html&d=DwIDaQ&c=s883GpUCOChKOHiocYtGcg&r=Bak3-3UtIw0QEwx645L7Agnx0N5k3avy8k01f01AiGY&m=d21DVhe16ObDeSF_FYf8vkL9Kd-QLsztSlwrxN_lkEk&s=Sd9g8RxyAgAmqFLNH-DxEQ22t7-XPhtuQLspqJtEqbw&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_pipermail_cbc_2012-2DFebruary_000766.html&d=DwIDaQ&c=s883GpUCOChKOHiocYtGcg&r=Bak3-3UtIw0QEwx645L7Agnx0N5k3avy8k01f01AiGY&m=d21DVhe16ObDeSF_FYf8vkL9Kd-QLsztSlwrxN_lkEk&s=Sd9g8RxyAgAmqFLNH-DxEQ22t7-XPhtuQLspqJtEqbw&e=</a>
 , we <br>
> are supporting multiple solutions in CBC. But on trying out a <br>
> sample/test lp file, it is not working as expected<br>
> (tried with both disabling and enablign options for preprocessing, <br>
> heur, cutoff). The LP file content is as follows:<br>
> "<br>
><br>
> \Problem name:<br>
><br>
> Minimize<br>
><br>
> obj: 2 x0 + 5 x1 + 3 x2<br>
><br>
> Subject To<br>
><br>
> cons0:x0 + x1 + x2 = 1<br>
><br>
> Bounds<br>
><br>
> 0 <= x0 <= 1<br>
><br>
> 0 <= x1 <= 1<br>
><br>
> 0 <= x2 <= 1<br>
><br>
> End<br>
><br>
><br>
> "<br>
><br>
><br>
> I was testing the same using CBC shell command. The list of commands <br>
> tries out as follows<br>
><br>
><br>
> Coin:import test.lp<br>
><br>
> Coin:maxSaved 3<br>
><br>
> maxSavedSolutions was changed from 0 to 3<br>
><br>
> Coin:cuts off<br>
><br>
> Option for cutsOnOff changed from on to off<br>
><br>
> Coin:heur off<br>
><br>
> Option for heuristicsOnOff changed from on to off<br>
><br>
> Coin:preprocess off<br>
><br>
> Option for preprocess changed from sos to off<br>
><br>
> Coin:solve<br>
><br>
> Presolve 0 (-1) rows, 0 (-3) columns and 0 (-3) elements<br>
><br>
> Empty problem - 0 rows, 0 columns and 0 elements<br>
><br>
> Optimal - objective value 2<br>
><br>
> After Postsolve, objective 2, infeasibilities - dual 0 (0), primal 0 (0)<br>
><br>
> Optimal objective 2 - 0 iterations time 0.002, Presolve 0.00<br>
><br>
> Coin:solu bestSol.txt<br>
><br>
> Coin:nextB 1bestSol.txt<br>
><br>
> All alternative solutions printed<br>
><br>
><br>
><br>
> Could you please let me know on where I am missing the solutions?<br>
><br>
><br>
> Regards<br>
><br>
> Aby<br>
><br>
><br>
> _______________________________________________<br>
> Cbc mailing list<br>
> <a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a><br>
> <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_cbc&d=DwIDaQ&c=s883GpUCOChKOHiocYtGcg&r=Bak3-3UtIw0QEwx645L7Agnx0N5k3avy8k01f01AiGY&m=d21DVhe16ObDeSF_FYf8vkL9Kd-QLsztSlwrxN_lkEk&s=biVc2bYEu6InvhFCI-CnysgDsG-1PRjponTh4LZ1hZo&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_cbc&d=DwIDaQ&c=s883GpUCOChKOHiocYtGcg&r=Bak3-3UtIw0QEwx645L7Agnx0N5k3avy8k01f01AiGY&m=d21DVhe16ObDeSF_FYf8vkL9Kd-QLsztSlwrxN_lkEk&s=biVc2bYEu6InvhFCI-CnysgDsG-1PRjponTh4LZ1hZo&e=</a>
<br>
<br>
-- <br>
=============================================================<br>
Haroldo Gambini Santos<br>
Computing Department<br>
Universidade Federal de Ouro Preto - UFOP<br>
email: <a href="mailto:haroldo@ufop.edu.br" target="_blank">haroldo@ufop.edu.br</a><br>
home/research page: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.decom.ufop.br_haroldo&d=DwIDaQ&c=s883GpUCOChKOHiocYtGcg&r=Bak3-3UtIw0QEwx645L7Agnx0N5k3avy8k01f01AiGY&m=d21DVhe16ObDeSF_FYf8vkL9Kd-QLsztSlwrxN_lkEk&s=W8s7lsrnqrWfNnFykaiz33xwsKskK5foOFqUpkA28Vg&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.decom.ufop.br_haroldo&d=DwIDaQ&c=s883GpUCOChKOHiocYtGcg&r=Bak3-3UtIw0QEwx645L7Agnx0N5k3avy8k01f01AiGY&m=d21DVhe16ObDeSF_FYf8vkL9Kd-QLsztSlwrxN_lkEk&s=W8s7lsrnqrWfNnFykaiz33xwsKskK5foOFqUpkA28Vg&e=</a>
<br>
<br>
<br>
It has long been an axiom of mine that the little things are infinitely<br>
the most important.<br>
-- Sir Arthur Conan Doyle, "A Case of Identity"<br>
<br>
</div>
</span></font></div>
</div>

_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a><br>
<a href="https://list.coin-or.org/mailman/listinfo/cbc" rel="noreferrer" target="_blank">https://list.coin-or.org/mailman/listinfo/cbc</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Dr. Ted Ralphs<br>Professor, Industrial and Systems Engineering<br>Lehigh University<br>(610) 628-1280<br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div></div></div></div></div></div></div></div>