[SCIP] Constraints user data

Besancon, Mathieu besancon at zib.de
Fri Nov 11 14:33:05 CET 2022


Hi Iain,


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?


Best,

Mathieu

________________________________
From: Scip <scip-bounces at zib.de> on behalf of Iain Fullelove <fullelove.iain at gmail.com>
Sent: Friday, November 11, 2022 2:15:01 PM
To: scip at zib.de
Subject: [SCIP] Constraints user data

Hi,

I'm working on a problem that is basically solving a max-flow min-cut problem that has capacity constraints.
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?
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.

Thanks,
Iain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20221111/e232626d/attachment.html>


More information about the Scip mailing list