[Dip] m_globalLB and m_globalUB

Shahin Gelareh shahin.gelareh at gmail.com
Sun Mar 9 05:19:08 EDT 2014


again back to the same question, I get the following line in the log:
Processing Node   0 algo= PRICE_AND_CUT phase= PHASE_PRICE2 c=    3 p=   29
LB=    130.483 UB=    178.476 nodeLB=    130.483 *gLB=    130.483 gUB=
231.000* lpGa
p=      0.368 ipGap=      0.770 time=     569.38

but what I get out of reading m_globalLB and m_globalUB
is 130 and 178.

Not only a rounding occurs but also the values do not match with the log.



On Sun, Mar 9, 2014 at 10:13 AM, Shahin Gelareh <shahin.gelareh at gmail.com>wrote:

> Dear all
> I have added two lines to the DecompAlgo.h
>
> public:
>     double getGlobalUB(){return m_globalUB;};
>     double getGlobalLB(){return m_globalLB;};
>
>
> to get the m_globalLB and m_globalUB.
>
> In the log:
> Processing Node   0 algo= PRICE_AND_CUT phase= PHASE_PRICE2 c=    1 p=
> 27 LB=     65.886 UB=    194.476 nodeLB=    128.588 *gLB=    128.588
> gUB=    231.000* lpGa
> p=      0.512 ipGap=      0.796 time=      98.17
>
> *in fact gLB=    128.588 *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?
> Moreover, algo->getMasterObjValue() always return 1e+075!!
>
>
> Any constructive comment is appreciated.
>
> regards
> Shahin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/dip/attachments/20140309/88218195/attachment.html>


More information about the Dip mailing list