[Scip] Assertion `var->scip == set->scip' failed.

Leonardo Taccari leonardo.taccari at polimi.it
Fri May 2 23:45:49 CEST 2014


Hi all,

I've been getting an error in my C++ implementation of the
SCIP_DECL_CONSLOCK method for a constraint handler. Compiling with OPT=dbg,
I get this failed assertion.

src/scip/var.c:2985: SCIPvarAddLocks: Assertion `var->scip == set->scip'
failed.

This is with SCIP 3.0.1.
I guess I'm doing something wrong. What is puzzling me is that only get
this error in a minority of my problem instances. In most cases, everything
seems to work fine.

Thanks,
Leonardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20140502/df5c4bd0/attachment.html>


More information about the Scip mailing list