<div dir="ltr">Hi Mathieu,<div><br></div><div>Thanks for the advice, i'll have a go at storing the precedences in the data of the relaxation handler.</div><div>Are there any example bits of code for doing this?</div><div><br></div><div>Cheers,</div><div>Iain</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 11, 2022 at 11:33 PM Besancon, Mathieu <<a href="mailto:besancon@zib.de">besancon@zib.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>

<div id="m_7706502354798582901divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi Iain,</p>
<p><br>
</p>
<p>The two options that seem straightforward would be to indeed define a new constraint handler with the precedence information or to store the precedence in the data of your relaxation handler. The latter seems to  be the least amount of modification to your
 current structure right?</p>
<p><br>
</p>
<p>Best,</p>
<p>Mathieu<br>
</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_7706502354798582901divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Scip <<a href="mailto:scip-bounces@zib.de" target="_blank">scip-bounces@zib.de</a>> on behalf of Iain Fullelove <<a href="mailto:fullelove.iain@gmail.com" target="_blank">fullelove.iain@gmail.com</a>><br>
<b>Sent:</b> Friday, November 11, 2022 2:15:01 PM<br>
<b>To:</b> <a href="mailto:scip@zib.de" target="_blank">scip@zib.de</a><br>
<b>Subject:</b> [SCIP] Constraints user data</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>I'm working on a problem that is basically solving a max-flow min-cut problem that has capacity constraints.</div>
<div>I currently use the function "SCIPvarSetData" to add my own user data to the decision variables but can't find an equivalent function for adding user data to constraints? Or would this require me to implement a full constraint handler?</div>
<div>The reason I was wanting to do this is because the majority of my constraints are precedence constraints between two nodes in the graph network, and I was wanting to mark these constraints as precedence constraints for the custom relaxation handler I added.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Iain</div>
</div>
</div>
</div>

</blockquote></div>