<div dir="ltr">I can't use valgrind, but Visual Studio indicates that the problem is located at line 7330 of CbcSolver.cpp :<div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">int n = saveSolver->getNumCols(); </font><br></div><div><font face="monospace, monospace"><br></font></div><div>and saveSolver is NULL...<font face="monospace, monospace"><br></font></div><div><br></div><div>Hope this helps...</div><div><br></div><div>Marco<br></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-23 16:40 GMT+02:00 Haroldo Gambini Santos <span dir="ltr"><<a href="mailto:haroldo.santos@gmail.com" target="_blank">haroldo.santos@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi Giunto,<br>
<br>
Could you run valgrind and attach the log ?<br>
<br>
Cheers,<br>
<br>
Haroldo<div><div class="h5"><br>
<br>
<div>On 23-07-2015 10:41, mg wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi All,
<div>I'm solving some small problems where I set an initial
solution for the integer variables using setBestSolution().</div>
<div><br>
</div>
<div>It has always worked, but I recently found a (very small)
case where I get an access violation; note that works fine if
I don't set any initial solution.</div>
<div><br>
</div>
<div>Attached you can find the lp file and the code to reproduce
the problem.</div>
<div><br>
</div>
<div>Version CBC release 2.9.5</div>
<div><br>
</div>
<div>Thanks in advance,</div>
<div>Regards</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Cbc mailing list
<a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre cols="72">--
==================================================
Haroldo Gambini Santos
D.Sc, Computer Science
Universidade Federal de Ouro Preto
<a href="http://www.decom.ufop.br/haroldo/" target="_blank">http://www.decom.ufop.br/haroldo/</a></pre>
</font></span></div>
</blockquote></div><br></div>