[Cbc] CbcCompareUser.cpp does not compile on trunk branch

Kish Shen kisshen at cisco.com
Sat Oct 9 02:18:26 EDT 2010


Hi,

I have just downloaded the latest revision of the trunk branch of Cbc, 
and as usual after building the system, I tried to compile 
CbcCompareUser and CbcBranchUser in Cbc/examples, but CbcCompareUser 
fail to compile, because the return type of newSolution method  was 
changed from void to bool in  CbcCompareBase a few days ago, but 
newSolution in CbcCompareUser have not been updated to reflect this change.

I got the code to compile by changing the return type to bool, and added 
return values (mostly returning true), but I really don't know if these 
are the correct values to return.

Yours sincerely,

Kish Shen

-- 
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in
England and Wales with its registered office at 1 Callaghan Square,
Cardiff, South Glamorgan CF10 5BT.



More information about the Cbc mailing list