<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Christina,<br>
<br>
yes you are right, there is no equality knapsack constraint handler
in SCIP anymore. As far as I know the cons_eqknapsack was never
really included to SCIP. I guess there is a better way to handle
such equality constraints in another plug-ins.<br>
<br>
I think adding your constraint as linear constraint to SCIP is
absolutely fine. In general SCIP upgrades constraints into
constraints of other types if SCIP detects the necessary structure
for the targeting constraint type. You can find possible upgrades
for linear constraints by starting SCIP in the terminal with<br>
<br>
bin/scip -c "set cons linear upgrade"<br>
<br>
and of course in the documentation.<br>
<br>
<br>
Best regards,<br>
<br>
Benny<br>
<br>
<br>
<div class="moz-cite-prefix">On 03/25/2015 04:14 PM, Cristina Núñez
del Toro wrote:<br>
</div>
<blockquote
cite="mid:CAKuRvOGcvPNKoB3p4BdgkX4A1yV5r1BaTMXSTX+zmv1M8bep=w@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_quote">
<div dir="ltr">
<div>
<div>
<div>Hello to all,<br>
<br>
</div>
I'm trying to separate a set of constraints that are
equality knapsack constraints. I was looking around the
scip documentation and I found that there is a
constraint handler for eqknapsack constraints
(cons_eqknapsack.h), so I thought it could be easier if
I include the equality knapsack constraints using
"SCIPcreateConsEqknapsack" instead of
"SCIPcreateConsLinear" and then separate it
automatically without detecting by hand the violated
cover inequality.<br>
<br>
However, when I include the constraint handler
(SCIPincludeConshdlrEqknapsack), I got a compilation
error since it is not declared in the scope. I tried to
include the header "scip/cons_eqknapsack.h" but there is
not such file or directory. <br>
<br>
</div>
I realized that I was looking the documentation for
version 2.0.2 and I'm using 3.1.0. However, for this last
version, I only found the constraint handler for knapsack
constraints of the form Ax <= b , but not for Ax = b. I
guess there is not such constraint handler anymore? If so,
is there another way so I can take advantage of your
already defined plugins/callbacks in order to apply
separation to the equality constraints?<br>
<br>
</div>
Thanks in advance.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<div>
<div>
<div>
<div>-- <br>
<div>Cristina Nuñez</div>
</div>
</div>
</div>
</div>
</font></span></div>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature">---<br>
Cristina Nuñez<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<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="http://listserv.zib.de/mailman/listinfo/scip">http://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
______________________________
Benjamin Müller
Zuse Institute Berlin
Takustr. 7, 14195 Berlin
<a class="moz-txt-link-abbreviated" href="mailto:benjamin.mueller@zib.de">benjamin.mueller@zib.de</a>
+49 30 841 85-195</pre>
</body>
</html>