<div dir="ltr">Hi Haroldo,<div><br></div><div>Thank you very much for your feedbacks, I have truly appreciated.</div><div><br></div><div>I have tried to run my command on a simple toy example that I have prepared and have tested the commands that you have suggested for obtaining the multiple solutions of my problem. However, unfortunately it seemed like that didn't work and I think I might be writing the commands wrong somehow. I have tried to solve the problem with cplex and on that case I indeed am able to obtain the multiple solutions that I wanted.</div><div><br></div><div>I am attaching a gdrive folder where I have the problem and the solutions that I get with cplex and <span class="gmail-il">cbc</span>: <a href="https://drive.google.com/drive/folders/1GEvrNs-ScLr6NhbvsCnR6u8p0WAK1j7F?usp=sharing" target="_blank">https://drive.google.com/drive/folders/1GEvrNs-ScLr6NhbvsCnR6u8p0WAK1j7F?usp=sharing</a>. The testFile.lp contains the ILP problem, the command files contain the cplex and <span class="gmail-il">cbc</span> commands that I am using to solve that specific problem, the cbc_execution contains the execution flow while optimizing the problem with <span class="gmail-il">cbc</span> solver while the cplex_results.txt + 2.sol, 3.sol and best.sol contain the solutions that I obtain from <span class="gmail-il">cbc</span>. Unfortunately it sems that the .sol files are all identical and they don't contain the multiple solutions and they contain only 1 of the 2 feasible solutions for this problem.</div><div><br></div><div>Please, is there something wrong on the way I am writing the <span class="gmail-il">cbc</span> command for solving? Are there any equivalent commands that are typically used for the cplex (on the cplexCommand.txt files) that can also be used on the <span class="gmail-il">cbc</span>?</div><div><br></div><div>I apologize for the late reply and for the long email. Any is always very much appreciated:))</div><div><br></div><div>Cheers,</div><div>Enio</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 18 Jul 2019 at 14:07, Haroldo Gambini Santos <<a href="mailto:haroldo.santos@gmail.com">haroldo.santos@gmail.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">Hi,<br>
<br>
If you like Python the Python-MIP interface for CBC provides easy access <br>
to the solution pool.<br>
<br>
<a href="https://github.com/coin-or/python-mip" rel="noreferrer" target="_blank">https://github.com/coin-or/python-mip</a><br>
<br>
In the command line,<br>
<br>
  cbc air04.mps.gz -timem=elapsed -seconds 100 -maxSaved=200 -solve <br>
-solution best.sol <br>
-nextbest 2.sol -nextbest 3.sol<br>
<br>
Cheers<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>
        <a href="mailto:Haroldo.GambiniSantos@cs.kuleuven.be" target="_blank">Haroldo.GambiniSantos@cs.kuleuven.be</a><br>
home/research page: <a href="http://www.decom.ufop.br/haroldo" rel="noreferrer" target="_blank">www.decom.ufop.br/haroldo</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>
On Thu, 18 Jul 2019, Enio Gjerga wrote:<br>
<br>
> Hello,<br>
> I am Enio Gjerga, a PhD candidate working in RWTH Aachen and Heidelberg University<br>
> and my research focus consists on logic modelling of cell signalling networks. For<br>
> that I often rely on integer linear formulations for training my networks to the data<br>
> and I am particularly interested in cbc as a free MIP solver alternative.<br>
> <br>
> Please, is it possible for directly obtaining multiple solutions from the cbc solver?<br>
> If yes, is there any command I could use in the interactive mode of cbc for such a<br>
> purpose? I am very interested in my problems to explore as many alternative solutions<br>
> as possible.<br>
> <br>
> Looking forward for your kind reply and any help would be much appreciated.<br>
> <br>
> Best regards,<br>
> Enio Gjerga<br>
> <br>
> --<br>
> Enio GJERGA<br>
> PhD student<br>
> JRC-COMBINE RWTH Aachen<br>
> Tel : +4917685132057<br>
> [uc?export=download&id=0B6mjZ0BJeekOeUgyQmpTQXYwWjg&revid=0B6mjZ0BJeekORUxnZ1VVS1ZjY<br>
> 25UTUc2VUU1dDA4N0lLUlM0PQ]<br>
> <br>
><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8px">Enio GJERGA</span><br style="font-size:12.8px"><div style="font-size:12.8px">PhD student<br><div>JRC-COMBINE RWTH Aachen</div><div>Tel : +4917685132057</div></div></div><img src="https://docs.google.com/uc?export=download&id=0B6mjZ0BJeekOeUgyQmpTQXYwWjg&revid=0B6mjZ0BJeekORUxnZ1VVS1ZjY25UTUc2VUU1dDA4N0lLUlM0PQ" width="420" height="111"></div></div></div></div>