[Cbc] maxSolutions that meet all constraints

James Vance james.dvance at gmail.com
Thu Dec 12 15:29:17 EST 2019


hello,

When working with the maxSolutions parameter (say maxSolutions=3), CBC
often returns solutions that don't meet every constraint. If I let the
solver run without specifying maxSolutions the solution it returns meet
every constraint.

Can anyone explain this phenomenon and is there a way to check constraints
before returning solutions?

Thanks,

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20191212/02bb3127/attachment.html>


More information about the Cbc mailing list