<div dir="auto">Hi Diego,<div dir="auto"><br></div><div dir="auto">The getState() method is not part of SCIP. We implemented it specifically for the purpose of learning to branch, in our PySCIPOpt clone here (branch ml-branching)</div><div dir="auto"><a href="https://github.com/ds4dm/PySCIPOpt/tree/ml-branching">https://github.com/ds4dm/PySCIPOpt/tree/ml-branching</a></div><div dir="auto"><br></div><div dir="auto">In particular:</div><div dir="auto"><a href="https://github.com/ds4dm/PySCIPOpt/blob/9b88eddcfe99208e737236d39ccd6c9dd1a9bec4/src/pyscipopt/scip.pyx#L3917">https://github.com/ds4dm/PySCIPOpt/blob/9b88eddcfe99208e737236d39ccd6c9dd1a9bec4/src/pyscipopt/scip.pyx#L3917</a></div><div dir="auto"><br></div><div dir="auto">Best,</div><div dir="auto">Maxime</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 22, 2021, 07:08 Diego Mazzieri <<a href="mailto:d.mazzio97@gmail.com">d.mazzio97@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Good afternoon,<div>I was wondering why the method getState of Model is no longer available in SCIP.</div><div>In order to be more precise, what I am trying to reproduce is the code in the extract_state method of this file <a href="https://github.com/ds4dm/learn2branch/blob/master/utilities.py" target="_blank" rel="noreferrer">https://github.com/ds4dm/learn2branch/blob/master/utilities.py</a>, but my editor is not able to run it because getState is missing. I have also tried to use Ecole as the README of the repo suggests, however it has various compatibility problems with my university cluster which PySCIPOpt does not present, therefore I would prefer to use only the latter.</div><div><br></div><div>Hope you can explain to me if the method has been deprecated for some reason or moved somewhere else.</div><div><br></div><div>Thanks in advance and have a nice day, Diego.</div></div>
_______________________________________________<br>
Scip mailing list<br>
<a href="mailto:Scip@zib.de" target="_blank" rel="noreferrer">Scip@zib.de</a><br>
<a href="https://listserv.zib.de/mailman/listinfo/scip" rel="noreferrer noreferrer" target="_blank">https://listserv.zib.de/mailman/listinfo/scip</a><br>
</blockquote></div>