<div dir="ltr"><span style="font-size:12.8000001907349px">Hi Michael,</span><div><span style="font-size:12.8000001907349px">Thanks for replying. Good news is : problem solved!</span></div><div><span style="font-size:12.8000001907349px">I firstly used coinbuild but nothing changed. Then I changed the solver type from initialSolve( ) to Babak&#39;s suggestion: </span><div><span style="font-size:12.8000001907349px"><br></span></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div style="font-size:12.8000001907349px">ClpSimplex *Model ....</div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div style="font-size:12.8000001907349px"><div>ClpSolve *solvectl;</div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div style="font-size:12.8000001907349px"><div>solvectl= new ClpSolve;</div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div style="font-size:12.8000001907349px"><div>solvectl-&gt;setSolveType(ClpSolve::useDual);</div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div style="font-size:12.8000001907349px"><div>solvectl-&gt;setPresolveType(ClpSolve::presolveOn);</div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div style="font-size:12.8000001907349px"><div>Model-&gt;initialSolve(*solvectl);</div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div style="font-size:12.8000001907349px"><div>delete solvectl;</div></div></div></blockquote></blockquote><span style="font-size:12.8000001907349px">Although the pointer case doesn&#39;t work(don&#39;t know why), I changed it to ClpSimplex Model, and everything works!<br></span><div><span style="font-size:12.8000001907349px">Now the performance increases so much, from 58 seconds down to 2 seconds on my network model, while GLPK takes 21 seconds. I hope everything goes well after this...</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Thanks all,</span></div><div><span style="font-size:12.8000001907349px">Emer</span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 30, 2015 at 6:48 PM, Michael Hennebry <span dir="ltr">&lt;<a href="mailto:hennebry@web.cs.ndsu.nodak.edu" target="_blank">hennebry@web.cs.ndsu.nodak.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The first thing is to know what you are measuring.<br>
CPU time and wall clock time can be rather different.<br>
Also, what events are you timing?<br>
Do your times include input and output times?<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Michael   <a href="mailto:hennebry@web.cs.ndsu.NoDak.edu" target="_blank">hennebry@web.cs.ndsu.NoDak.edu</a><br>
&quot;SCSI is NOT magic. There are *fundamental technical<br>
reasons* why it is necessary to sacrifice a young<br>
goat to your SCSI chain now and then.&quot;   --   John Woods<br>
</font></span></blockquote></div><br></div>