<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-2">
</head>
<body>
<p>Hi there,</p>
<p>my problem is still present. I ask again, if I get an answer now.</p>
<p>Best regards,<br>
Marko<br>
</p>
<div class="moz-cite-prefix">2021. 08. 31. 13:11 keltezéssel,
Horváth Markó írta:<br>
</div>
<blockquote type="cite"
cite="mid:19685381-9f34-9e11-dde1-2c45ee2cab0e@sztaki.hu">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-2">
<p>Hi there,</p>
<p>I'm working on a branch-and-price approach using SCIP
Optimitation Suite 7.0.3 on windows (and on linux, as well).
After the problem is solved, in method SCIPfree (more precisely,
method varFree) I get the following problem:</p>
<p><b><font face="monospace">Assertion failed:
(*var)->probindex == -1, file <my path>\scip\var.c,
line 2682</font></b></p>
<p>since the value of probindex is 16. Can you help me to fix this
issue? As I see, the problem already occures when the first
priced variable is going to be freed </p>
<p>I have already checked previous reports about this problem (<a
class="moz-txt-link-freetext"
href="http://listserv.zib.de/pipermail/scip/2017-April/003078.html"
moz-do-not-send="true">http://listserv.zib.de/pipermail/scip/2017-April/003078.html</a>).
Briefly stated, I use the following steps to create and add
priced variables to the problem (actually, initial variables are
added to the problem in the same way):</p>
<p><font face="monospace">...<br>
SCIPcreateObjVar( scip, &var, varname, 0.0, 1.0, obj,
SCIP_VARTYPE_BINARY, initial, FALSE, vardata, TRUE )<br>
if( initial )<br>
SCIP_CALL( SCIPaddVar( scip, var ) );<br>
else<br>
SCIP_CALL( SCIPaddPricedVar( scip, var, 1.0 ) );<br>
SCIPchgVarUbLazy( scip, var, 1.0 )<br>
SCIPaddCoefLinear(...)<br>
...<br>
SCIPaddCoefLinear(...)<br>
SCIPreleaseVar( scip, &var )</font></p>
<p>(Note that assertion (*var)->nuses == 0 does not failed).</p>
<p>Best Regards,<br>
Marko<br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="https://listserv.zib.de/mailman/listinfo/scip">https://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Markó HORVÁTH PhD,
research fellow
-------------------------------------------------------------
Research Laboratory on Engineering & Management Intelligence,
Institute for Computer Science and Control
H-1111 Budapest, Kende u. 13-17.
Room : K318
Phone: +36 1 279 7164</pre>
</body>
</html>