[Dip] m_globalLB and m_globalUB

Shahin Gelareh shahin.gelareh at gmail.com
Sun Mar 9 05:13:47 EDT 2014


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/f0c2b097/attachment.html>


More information about the Dip mailing list