<div dir="ltr"><div><div><div>Hi all,<br></div><br>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.<br>
<br>src/scip/var.c:2985: SCIPvarAddLocks: Assertion `var->scip == set->scip' failed.<br><br>This is with SCIP 3.0.1.<br>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.<br>
<br></div>Thanks,<br></div>Leonardo<br></div>