[SCIP] Multiple Constraint Handlers

Schrotenboer, Albert a.h.schrotenboer at rug.nl
Thu Mar 25 08:59:23 CET 2021


Dear SCIP developers and community,


I work in C++. To keep my code neat, I'd like to implement multiple
separate constraint handlers (for different type of inequalities).

My question concerns the SCIP_CONSDATA* struct which is basically attached
to constraints you add /manage via the constraint handler.  Is it possible
to create multiple SCIP_CONSDATA* structs associated with each of my
constraint handlers? Of course, I cannot define it twice, and I don't think
inheritance is the solution here as these are C structs..



If not, no problem, then I'll just need to manage some structs with a lot
of data in it!



Thanks,

Albert

-- 

dr. Albert Schrotenboer

Assistant Professor Transportation & Logistics


Operations, Planning, Accounting, and Control Group

Eindhoven University of Technology

Atlas 4.402, P.O. Box 513

5600 MB Eindhoven, Netherlands
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20210325/cdedcbd0/attachment.html>


More information about the Scip mailing list