[Cbc] [CBC] Access violation solving a small problem with initial solution (CBC release 2.9.5)

mg giunto.cardanico at gmail.com
Thu Jul 23 11:16:13 EDT 2015


I can't use valgrind, but Visual Studio indicates that the problem is
located at line 7330 of CbcSolver.cpp :

int n = saveSolver->getNumCols();

and saveSolver is NULL...

Hope this helps...

Marco




2015-07-23 16:40 GMT+02:00 Haroldo Gambini Santos <haroldo.santos at gmail.com>
:

>  Hi Giunto,
>
> Could you run valgrind and attach the log ?
>
> Cheers,
>
> Haroldo
>
>
> On 23-07-2015 10:41, mg wrote:
>
> Hi All,
> I'm solving some small problems where I set an initial solution for the
> integer variables using setBestSolution().
>
>  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.
>
>  Attached you can find the lp file and the code to reproduce the problem.
>
>  Version CBC release 2.9.5
>
>  Thanks in advance,
> Regards
>
>
>
>
>
>
>
> _______________________________________________
> Cbc mailing listCbc at list.coin-or.orghttp://list.coin-or.org/mailman/listinfo/cbc
>
>
> --
> ==================================================
> Haroldo Gambini Santos
> D.Sc, Computer Science
> Universidade Federal de Ouro Pretohttp://www.decom.ufop.br/haroldo/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20150723/54eb0f1d/attachment.html>


More information about the Cbc mailing list