[Cbc] SOS issue - why infeasible?

James Howey james.howey at gmail.com
Tue Mar 6 15:04:43 EST 2018


The following is an effort to set a binary indicator (lt) if x <= 44000

 

maximize

lt

SUBJECT TO

x - ff - neg = 0

44000 lt + neg >= 0

BOUNDS

x = 1

ff = 44000

-44000 <= neg <= 1e15

binary

lt

SOS

set1: S1:: neg:0 lt:1

END

 

With command arguments 

preprocess off solve solu a

 

The result reached is:

 

Integer infeasible - objective value -1.00000000

      0 lt                     1                      -1

      1 x                      1                       0

      2 ff                 44000                       0

      3 neg               -43999                       0

 

Which appears feasible to me?

 

Any insight is appreciated.

 

Thanks,

 

jkh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20180306/cd661077/attachment.html>


More information about the Cbc mailing list