<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear Lan,<br>
<br>
sorry, the documentation is a bit misleading in this case. Similar
to constraints, there is a separate method to get the Farkas
coefficient for variables. Please use SCIPgetVarFarkasCoef() for
this.<br>
<br>
Best,<br>
Gerald<br>
<br>
<div class="moz-cite-prefix">On 06.11.19 02:10, Ngô Lan wrote:<br>
</div>
<blockquote type="cite"
cite="mid:343ac57cd1bc44d2acc4ee05adadd977@aalto.fi">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
dir="ltr">
<p>Hi all, </p>
<p><br>
</p>
<p>I am implementing BPC and after some branchings, my master
will become infeasible due to not having enough columns in the
pool. Instead of Farkas pricing, I implement a heuristic to
add more columns into the problem inside the <span>SCIP_DECL_PRICERFARKAS</span> callback.
However I ran into the assertion error "<span>lp->validsollp
== stat->lpcount" in function <span>SCIPcolGetRedcost. I
can understand that this is due to the lastest solution
being infeasible but then how Farkas works normally? It
would be great if someone can give me insight into this.
Thank you for your time.</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>Best,</span></span></p>
<p>Lan</p>
</div>
<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>
<br>
</body>
</html>