[Cbc] Cbc returns fractional solutions

Lou Hafer lou at cs.sfu.ca
Fri May 11 16:21:36 EDT 2007


Vishy,

> However, I am still facing the problem since I cannot call those functions
> in my program since I am using Flopcpp and I must use the same set of
> functions with their new names mentioned in
> OsiCbcSolverInterface.hpp....and here the behaviour of these function is
> seemingly different.

	There's not much I can say except to point out that OSI is oriented
toward linear programming and contains only rudimentary support for integer
programming.  I'm not a user of FlopCpp, so the next sentence may be wrong.  But
my guess (without taking the time to scan the code) is that when you call, e.g.,
minimize(), from FlopCpp, it will call osi.initialSolve(), which solves a single
LP in continuous variables.

	I'll leave it to others to suggest how you might want to approach the
problem of generating your model and passing it to cbc or some other solver. To
get useful advice, it would be helpful if you'd take the time to describe what
you're actually trying to achieve:  the data source(s), and requirements for
model generation and solution.

							Lou



More information about the Cbc mailing list