<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear Shahin,<br>
<br>
you created your variable with SCIPcreateObjVar()? Then you should
use SCIPgetObjVardata() in order to get the vardata your class
specifies.<br>
<br>
Best,<br>
Gerald<br>
<br>
<div class="moz-cite-prefix">Am 22.04.2014 11:40, schrieb Shahin
Gelareh:<br>
</div>
<blockquote
cite="mid:CA+r-pT7+Lta=b1qhguDjAif74drGRB4LhL7nng4AcpmZdQmrqQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Dear SCIPers<br>
<br>
</div>
I make class extending ObjVardata, let say MYObjVardata
and store my information in an instance of this class.<br>
<br>
</div>
When I say:<br>
<br>
SCIP_VARDATA* vardata= NULL;<br>
vardata = SCIPvarGetData(var);<br>
</div>
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).<br>
</div>
When i cast it to MYObjVardat, all the information is lost.<br>
<br>
</div>
I wonder if there is any functionality in SCIP which work as
SCIPvarGetData for the instance of ObjVardata?<br>
<div>
<div>
<div>Of any particular method which has to be implemented?<br>
<br>
</div>
<div>Cheers<br>
Shahin<br>
</div>
<div>
<div>
<div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="http://listserv.zib.de/mailman/listinfo/scip">http://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
</blockquote>
<br>
</body>
</html>