<div dir="auto">Thank you so much.<div dir="auto"><br></div><div dir="auto">Kabbaj</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 1 mai 2019 à 04:17, Stefan Vigerske <<a href="mailto:stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
what matrix and right-hand-side? This isn't defined for CIPs.<br>
<br>
You could iterate through the constraint handlers in SCIP, if it is one <br>
that you know handles some from of linear constraint (cons_linear, <br>
cons_knapsack, cons_varbound, etc), then the constraint handler can give <br>
you its constraints. Further, for each constraint handler, there exist <br>
methods to access the constraint data, e.g., coefficients or left- and <br>
right-hand-sides, if applicable.<br>
<br>
But as you are not the first one who wants only the MIP part of the CIP, <br>
the functions in pub_misc_linear.h might be helpful, too:<br>
<a href="https://scip.zib.de/doc-6.0.1/html/pub__misc__linear_8h.php" rel="noreferrer noreferrer" target="_blank">https://scip.zib.de/doc-6.0.1/html/pub__misc__linear_8h.php</a><br>
The confusingly named SCIPgetConsVals() gives the coefficients. It seems <br>
that you have to guess the correct number of coefficients or hope that <br>
it coincides with SCIPgetConsNVars(). It's probably safter to use <br>
SCIPconsGetRow() and then query the row.<br>
<br>
Stefan<br>
<br>
On 4/30/19 2:36 PM, Mohamed Mustapha Kabbaj wrote:<br>
> Hello everyone,<br>
> <br>
> I would like to get values of matrix coefficients and right hand side. I<br>
> found some callable functions :<br>
> SCIPgetConss<br>
> SCIPgetConsRhs<br>
> SCIPConsGetVals<br>
> <br>
> Are these values  convenient and does it exist a simple tip to get that<br>
> values.<br>
> <br>
> Thank you in advance<br>
> <br>
> Kabbaj<br>
> <br>
> <br>
> _______________________________________________<br>
> Scip mailing list<br>
> <a href="mailto:Scip@zib.de" target="_blank" rel="noreferrer">Scip@zib.de</a><br>
> <a href="https://listserv.zib.de/mailman/listinfo/scip" rel="noreferrer noreferrer" target="_blank">https://listserv.zib.de/mailman/listinfo/scip</a><br>
> <br>
<br>
</blockquote></div>