<br>The situation is as follows (I&#39;m running the latest stable of all projects, should I be running from the trunk?)&nbsp; :<br><br>Both Cbc and Sym give the same straight objetive value of 10.&nbsp; Where
for this instance the known optimal is 85. The strange thing is that
with Clp, the first result is 110 but then I add an extra cut (subtour)
and it becomes infeasible...<br><br>It&#39;s really probably something in my code, but it seems Clp was closer to what I wanted.. I posted the issue here because I was surprised to get different solutions. I&#39;m also trying to run in cplex, but as you suggested I&#39;ll stick with Cbc and Sym, disregard Clp and will review the code again :/<br>
<br>Ashutosh, I copied the model here:<br><a href="http://www.pedro.not.br/tmp/model.mps">http://www.pedro.not.br/tmp/model.mps</a><br><br><br>thanks for the replies.<br>Pedro<br><br><div class="gmail_quote">On Feb 7, 2008 1:20 PM, Ted Ralphs &lt;<a href="mailto:ted@lehigh.edu">ted@lehigh.edu</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">As far as I remember, the branchAndBound() method of Clp is a fairly<br>basic implementation that is not really intended for practical use. You<br>
probably want to compare with OsiCbc for solving integer programs. It<br>should give better results.<br><br>Cheers,<br><br>Ted<br><div><div></div><div class="Wj3C7c"><br>Pedro Teixeira wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I am new to coin-or and not sure if this is the appropriate list to<br>
&gt; post. I&#39;m getting very different solutions when using the same model<br>&gt; but switching from OsiClpSolverInterface and OsiSymSolverInterface.<br>&gt;<br>&gt; my current usage is simple:<br>&gt;<br>&gt; si-&gt;loadFromCoinModel(model , true);<br>
&gt; si-&gt;initialSolve();<br>&gt; si-&gt;branchAndBound();<br>&gt;<br>&gt; With ClpSolver, it takes much more time and I get (for illustration):<br>&gt; Search took 43600 iterations and 7302 nodes<br>&gt; Clp0000I Optimal - objective value 115<br>
&gt;<br>&gt; However, with SymSolver I get the result instantaneously:<br>&gt; Solution Found: Node 1, Level 1<br>&gt; Solution Cost: 10.000<br>&gt;<br>&gt; Shouldn&#39;t I get the same results? Or is there any known issues with Osi?<br>
&gt; Can anyone shed in any light?<br>&gt;<br>&gt; cheers,<br>&gt; Pedro<br></div></div><div><div></div><div class="Wj3C7c">&gt; _______________________________________________<br>&gt; Coin-discuss mailing list<br>&gt; <a href="mailto:Coin-discuss@list.coin-or.org">Coin-discuss@list.coin-or.org</a><br>
&gt; <a href="http://list.coin-or.org/mailman/listinfo/coin-discuss" target="_blank">http://list.coin-or.org/mailman/listinfo/coin-discuss</a><br><br><br></div></div><font color="#888888">--<br>Dr. Ted Ralphs<br>Associate Professor<br>
Industrial and Systems Engineering<br>Lehigh University<br>(610)758-4784<br>ted at lehigh dot edu<br><a href="http://coral.ie.lehigh.edu/%7Eted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></font></blockquote></div><br>