[Scip] Is there a SCIPconsSetData()?

Martin Bergner bergner at or.rwth-aachen.de
Thu Jan 27 13:34:40 MET 2011


Hi all,

somehow, I'm confused. While there exists a function SCIPvarSetData() to
set some variable data, this function does not seem to exist for
constraints. Is there a reason for this? A SCIPconsGetData() function
exists.

And if so, what is the canonical way to attach data to given (=existing)
constraints? The only thing that comes to my mind is an array sorted and
kept in sync with the constraints array. Is this the way to go?

Regards,
Martin



More information about the Scip mailing list