<div><br></div><div>Dear sir,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; You know, my problem is a BIP one.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Accroding to my knowledge, when using B&amp;B, the number of&nbsp;Non-integer variables will decrease, when a solution is gotten, the number of&nbsp;Non-integer variables becomes zero.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; What I want is this<span style="font-size: 14px; line-height: 1.5;">&nbsp;number of&nbsp;Non-integer variables which is changing along whit the B&amp;B process.</span></div><div style="text-indent: 12px;">&nbsp; &nbsp; &nbsp;But I have looked at the code, after the model is set up, both&nbsp;the numCols_ numIntObjects_ seem to be unchanged when the tree is being searched.</div><div style="text-indent: 12px;">&nbsp; &nbsp; Will the difference of numIntObjects_ and numCols_ meet my need?</div><div style="text-indent: 12px;"><font color="#1f497d"><span style="font-size: 14.545454025268555px; line-height: 20px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></font></div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------&nbsp;Original&nbsp;------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b>&nbsp;"Yan Xu"&lt;Yan.Xu@sas.com&gt;;</div><div><b>Date: </b>&nbsp;Tue, Apr 23, 2013 09:21 PM</div><div><b>To: </b>&nbsp;"»¯¸ß·å"&lt;shimuxi@gmail.com&gt;; "chipps"&lt;chipps@list.coin-or.org&gt;; <wbr></div><div><b>Cc: </b>&nbsp;"geogrid"&lt;geogrid@gmail.com&gt;; <wbr></div><div><b>Subject: </b>&nbsp;RE: [CHiPPS] Asking for methods to get the number of Non-integervariables</div></div><div><br></div>



<style></style>


<div class="WordSection1">
<p class="MsoNormal"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D ">&nbsp; &nbsp; /** Get number of columns. */<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D ">int getNumCols() { return lpSolver_-&gt;getNumCols();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D ">&nbsp; &nbsp; /** Get number of integers. */<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D ">int getNumIntObjects() const { return numIntObjects_; }<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D ">After BlisModel is set up, you can use the above two funcitons to get the number of variables, and the number of integers, then the difference of this two numbers
 is the number of non-integer variables. <o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D ">Also, BlisModel has data member numCols_ and numIntObjects_. &nbsp;The difference of them is also the number of non-integer variables.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D ">Hope this helps,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D ">-Yan<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style=" font-size:11.0pt ; ; ; ;;color:#1F497D "><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span style=" font-size:11.0pt ; ; ; ; ">From:</span></b><span style=" font-size:11.0pt ; ; ; ; "> chipps-bounces@list.coin-or.org [mailto:chipps-bounces@list.coin-or.org]
<b>On Behalf Of </b>???<br>
<b>Sent:</b> Tuesday, April 23, 2013 4:56 AM<br>
<b>To:</b> chipps<br>
<b>Cc:</b> geogrid<br>
<b>Subject:</b> [CHiPPS] Asking for methods to get the number of Non-integer variables<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Dear sir,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp; &nbsp; I am looking a way to get the number of Non-integer variables in BLIS.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp; &nbsp; Could you tell me some methods to calculate it?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; &nbsp; &nbsp; &nbsp; Or, in which function could I get the number of <span style="font-size:10.5pt">Non-integer variables in BLIS?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt">&nbsp; &nbsp; &nbsp; &nbsp; </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt">&nbsp; &nbsp; &nbsp; &nbsp; Thank you very much </span><span style="  ; ; ;;color:#333333 ">for early reply!</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="line-height:18.0pt"><span style="  ; ; ;;color:#333333 ">Best Regards!<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div></div>