<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
Dear SCIP community,</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
I am solving MILPs using SCIP’s Python interface with all default parameters and a custom branching rule. I am a bit confused by the terminology of the documentation, so I would be very thankful for the following clarifications.</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24); min-height: 14px;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
During the solving process, I would like to keep track of some solving statistics. In particular, at each step know:</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
- <b>The number of processed nodes:</b> this can be accessed with (correct me if I am wrong) SCIPgetNNodes().</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
- <b>The number of open nodes:</b> is SCIPnodepqlen() the right function to call?</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
- <b>The number of pruned nodes</b> (by bound, infeasibility or integrality): I was unfortunately unable to find a way to obtain this value. Would it be (# of leaves) - (# of open nodes) ?</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24); min-height: 14px;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
I was also surprised to see that</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
SCIPgetNLeaves() != SCIPgetNFeasibleLeaves() + SCIPgetNInfeasibleLeaves()</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
Maybe I am misinterpreting the meaning of these.</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24); min-height: 14px;">
<br>
</p>
<p></p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
Just to clarify, I would of course be modifying the Python interface to include all necessary functions.</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
Thank you in advance for any help with this issue.</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
Best,</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(24, 26, 24);">
Lara Scavuzzo</p>
</div>
</body>
</html>