[Cbc-tickets] [COIN-OR Branch-and-Cut MIP Solver] #183: Semis section not working as expected.
COIN-OR Branch-and-Cut MIP Solver
coin-trac at coin-or.org
Wed Jan 10 10:28:11 EST 2018
#183: Semis section not working as expected.
-----------------------+-------------------
Reporter: richiarora | Owner: tkr
Type: defect | Status: new
Priority: major | Component: Cbc
Version: 2.9.8 | Keywords: semis
-----------------------+-------------------
Hi
I am using version 2.9.9 of cbc in ubuntu 17.10 docker image.
My test.lp file has following content:
{{{
Maximize
obj: x1 + 2 x2 + 3 x3 + x4
Subject To
c1: - x1 + x2 + x3 + 10 x4 <= 20
c2: x1 - 3 x2 + x3 <= 30
c3: x2 - 3.5 x4 = 0
Bounds
0 <= x1 <= 40
2 <= x4 <= 3
General
x4
Semis
x1 x2 x3
}}}
When trying with semis section i get error
"terminate called after throwing an instance of 'CoinError'
Aborted"
on mac i get:
libc++abi.dylib: terminating with uncaught exception of type CoinError
Abort trap: 6
However if I comment out Semis it works fine.
I was hoping that Semis are supported.
Am I doing something wrong?
My command is : cbc -presolve on -import test.lp solve solu out.txt
On further analysis i found out when in cbc prompt i type "import test.lp"
it fails and shows same error is
Thanks
--
Ticket URL: <https://projects.coin-or.org/Cbc/ticket/183>
COIN-OR Branch-and-Cut MIP Solver <http://projects.coin-or.org/Cbc>
An LP-based branch-and-cut MIP solver.
More information about the Cbc-tickets
mailing list