[Clp] Setting equality constraints in CLP/OSI

Paul De La Musica paul.delamusica at gmail.com
Sun Feb 7 13:39:44 EST 2010


Hi,

  I am testing out a small problem with known solution by modifying
build.cpp in the OSI example directory. My modified problem has a couple of
equality constraints of the form

xi-xj=L

which I implemented using the pair

xi-xj <= L and -xi+xj <= -L

Somehow, the program keeps telling me that optimized solution cannot be
found. I reduced the number of equality constraints to one and it worked
fine.

Is there an example on how to set equality constraints?

Anything else I should do besides checking code?

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20100207/88908d63/attachment.html>


More information about the Clp mailing list