<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-stretch: inherit; font-size: 15px; line-height: inherit; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; vertical-align: baseline; clear: both; color: rgb(36, 39, 41);">Hi</div><div style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-stretch: inherit; font-size: 15px; line-height: inherit; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; vertical-align: baseline; clear: both; color: rgb(36, 39, 41);">I am using version 2.9.9 of cbc in ubuntu 17.10 docker image. My test.lp file has following content:</div><div style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-stretch: inherit; font-size: 15px; line-height: inherit; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; vertical-align: baseline; clear: both; color: rgb(36, 39, 41);"><pre style="white-space: pre-wrap; font-size: 16px; margin-top: 0px; margin-bottom: 1em; padding: 5px; border: 0px; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; width: auto; background-color: rgb(239, 240, 241); word-wrap: normal; color: rgb(36, 39, 41); min-height: 600px;"><code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; white-space: inherit;">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</code></pre></div><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-stretch: inherit; font-size: 15px; line-height: inherit; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; vertical-align: baseline; clear: both; color: rgb(36, 39, 41);">When trying with semis section i get error "terminate called after throwing an instance of 'CoinError?' Aborted"</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-stretch: inherit; font-size: 15px; line-height: inherit; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; vertical-align: baseline; clear: both; color: rgb(36, 39, 41);">on mac i get: libc++abi.dylib: terminating with uncaught exception of type CoinError? Abort trap: 6</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-stretch: inherit; font-size: 15px; line-height: inherit; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; vertical-align: baseline; clear: both; color: rgb(36, 39, 41);">However if I comment out Semis it works fine. I was hoping that Semis are supported. Am I doing something wrong?</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-stretch: inherit; font-size: 15px; line-height: inherit; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; vertical-align: baseline; clear: both; color: rgb(36, 39, 41);">My command is : <code style="margin: 0px; padding: 1px 5px; border: 0px; font-style: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; background-color: rgb(239, 240, 241); white-space: pre-wrap;">cbc -presolve on -import test.lp solve solu out.txt</code></p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-stretch: inherit; font-size: 15px; line-height: inherit; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; vertical-align: baseline; clear: both; color: rgb(36, 39, 41);">On further analysis i found out when in cbc prompt i type "import test.lp" it fails and shows same error is</p>I tried in MPS format as well there i got <div><span class="ydpc22cb070s1">Bad image at line 19 <<span class="ydpc22cb070Apple-converted-space"> </span>SC BND1<span class="ydpc22cb070Apple-converted-space"> </span>YTWO <span class="ydpc22cb070Apple-converted-space"> </span>3 ></span></div></div><div><span class="ydpc22cb070s1"><br></span></div><div><span class="ydpc22cb070s1">Contents of mps file are : </span></div><div><span class="ydpc22cb070s1"><p class="ydp1af1f375p1"><span class="ydp1af1f375s1">NAME<span class="ydp1af1f375Apple-converted-space"> </span>TESTPROB</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1">ROWS</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>N<span class="ydp1af1f375Apple-converted-space"> </span>COST</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>L<span class="ydp1af1f375Apple-converted-space"> </span>LIM1</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>G<span class="ydp1af1f375Apple-converted-space"> </span>LIM2</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>E<span class="ydp1af1f375Apple-converted-space"> </span>MYEQN</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1">COLUMNS</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>XONE<span class="ydp1af1f375Apple-converted-space"> </span>COST <span class="ydp1af1f375Apple-converted-space"> </span>1 <span class="ydp1af1f375Apple-converted-space"> </span>LIM1 <span class="ydp1af1f375Apple-converted-space"> </span>1</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>XONE<span class="ydp1af1f375Apple-converted-space"> </span>LIM2 <span class="ydp1af1f375Apple-converted-space"> </span>1</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>YTWO<span class="ydp1af1f375Apple-converted-space"> </span>COST <span class="ydp1af1f375Apple-converted-space"> </span>4 <span class="ydp1af1f375Apple-converted-space"> </span>LIM1 <span class="ydp1af1f375Apple-converted-space"> </span>1</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>YTWO<span class="ydp1af1f375Apple-converted-space"> </span>MYEQN <span class="ydp1af1f375Apple-converted-space"> </span>-1</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>ZTHREE<span class="ydp1af1f375Apple-converted-space"> </span>COST <span class="ydp1af1f375Apple-converted-space"> </span>9 <span class="ydp1af1f375Apple-converted-space"> </span>LIM2 <span class="ydp1af1f375Apple-converted-space"> </span>1</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>ZTHREE<span class="ydp1af1f375Apple-converted-space"> </span>MYEQN<span class="ydp1af1f375Apple-converted-space"> </span>1</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1">RHS</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>RHS1<span class="ydp1af1f375Apple-converted-space"> </span>LIM1 <span class="ydp1af1f375Apple-converted-space"> </span>5 <span class="ydp1af1f375Apple-converted-space"> </span>LIM2<span class="ydp1af1f375Apple-converted-space"> </span>10</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>RHS1<span class="ydp1af1f375Apple-converted-space"> </span>MYEQN<span class="ydp1af1f375Apple-converted-space"> </span>7</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1">BOUNDS</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>UP BND1<span class="ydp1af1f375Apple-converted-space"> </span>XONE <span class="ydp1af1f375Apple-converted-space"> </span>4</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1"><span class="ydp1af1f375Apple-converted-space"> </span>SC BND1<span class="ydp1af1f375Apple-converted-space"> </span>YTWO <span class="ydp1af1f375Apple-converted-space"> </span>3</span></p>
<p class="ydp1af1f375p1"><span class="ydp1af1f375s1">ENDATA</span></p><br></span></div><div><br></div><div class="ydpbdccbe79signature"><div>Thanks</div><div>Richi Arora</div></div></div></body></html>