[Cbc] one problem when I call the CBC library in my c++ code

Liu, Lu Lu.Liu at fisglobal.com
Wed Jul 19 10:09:17 EDT 2017


Hi,

I am trying to solve a simple LP problem, I formulated the problem and convert it to MPS format and LP format. I use a free online solver CPLEX to solve it and also call the CBC command line using the MPS format, both solve with identical solution. however, when I call the CBC library in my c++ code and I load the problem to a matrix and use rowlb, rowub to specify the constraints, it seems to treat the upper bound as an exact match, therefore it can not solve. I wonder if there is a way/function to call so I can say it is less or equal to the upper bound, as opposed to equal to the upper bound. Thanks!

Regards,
Lu

The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20170719/93b0c264/attachment.html>


More information about the Cbc mailing list