<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Send me code/data to repeat the issue. I'll debug it. <br><br>Sent from my iPhone</div><div><br>On Mar 9, 2014, at 5:19 AM, Shahin Gelareh <<a href="mailto:shahin.gelareh@gmail.com">shahin.gelareh@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div>again back to the same question, I get the following line in the log:<br>Processing Node 0 algo= PRICE_AND_CUT phase= PHASE_PRICE2 c= 3 p= 29 LB= 130.483 UB= 178.476 nodeLB= 130.483 <font size="4"><b>gLB= 130.483 gUB= 231.000</b></font> lpGa<br>
p= 0.368 ipGap= 0.770 time= 569.38<br><br></div>but what I get out of reading<font> m_globalLB and m_globalUB</font><br>is 130 and 178.<br><br></div>Not only a rounding occurs but also the values do not match with the log.<br>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 9, 2014 at 10:13 AM, Shahin Gelareh <span dir="ltr"><<a href="mailto:shahin.gelareh@gmail.com" target="_blank">shahin.gelareh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Dear all<br></div>I have added two lines to the DecompAlgo.h<br><br>public:<br>
double getGlobalUB(){return m_globalUB;};<br> double getGlobalLB(){return m_globalLB;};<br> <br>
<br></div>to get the m_globalLB and m_globalUB.<br><br></div>In the log:<br>Processing Node 0 algo= PRICE_AND_CUT phase= PHASE_PRICE2 c= 1 p= 27 LB= 65.886 UB= 194.476 nodeLB= 128.588 <font size="4"><b>gLB= 128.588 gUB= 231.000</b></font> lpGa<br>
p= 0.512 ipGap= 0.796 time= 98.17<br><br><font size="4"><b>in fact gLB= 128.588 </b></font>but when I use my functions the value returned is 129. I am sure there is no implicit or explicit casting of double to int anywhere in my code. But I do not know where this rounding happens?<br>
</div><div>Moreover, algo->getMasterObjValue() always return 1e+075!!<br></div><div><br><br></div>Any constructive comment is appreciated.<br><br></div>regards<span class="HOEnZb"><font color="#888888"><br>Shahin<br></font></span></div>
</blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Dip mailing list</span><br><span><a href="mailto:Dip@list.coin-or.org">Dip@list.coin-or.org</a></span><br><span><a href="http://list.coin-or.org/mailman/listinfo/dip">http://list.coin-or.org/mailman/listinfo/dip</a></span></div></blockquote></body></html>