[Scip] casting and objvardata

Shahin Gelareh shahin.gelareh at gmail.com
Tue Apr 22 11:40:40 CEST 2014


Dear SCIPers

I make class extending ObjVardata, let say MYObjVardata and store my
information in an instance of this class.

When I say:

 SCIP_VARDATA* vardata=  NULL;
 vardata = SCIPvarGetData(var);
I cannot access to the variables and the method of class in vardata (in
Visual Studio debug mode I can only see that the content of vardata is
correct).
When i cast it to MYObjVardat, all the information is lost.

I wonder if there is any functionality in SCIP which work as SCIPvarGetData
for the instance of ObjVardata?
Of any particular method which has to be implemented?

Cheers
Shahin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20140422/ee20ede3/attachment.html>


More information about the Scip mailing list