<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Michael,<br>
<br>
Code is doing as intended. primalsimplex is doing exactly what it
is told - solve the problem using primal simplex - the algorithm
has no integer functionality - and does (approximately) same as
"clp .... solve" would do.<br>
<br>
So you get a solution with variables at non integral value.<br>
<br>
John Forrest<br>
On 25/09/14 19:06, Michael Munday wrote:<br>
</div>
<blockquote
cite="mid:CADd3rftVzJoZcwTj11H6H-znKtPSJw3gMKYws+MW3k497irWVQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I am trying to solve the attached mps file using the
command line cbc program, version 2.8.9. All of the columns
are constrained to be integers (I think).<br clear="all">
<div><br>
</div>
When I solve it using the following command:</div>
<div><br>
</div>
<div><font face="courier new, monospace">cbc test.mps.gz
-primalS -printi csv -solu test.csv</font><br>
</div>
<div><br>
</div>
<div style="">I get an objective value of 3907198 after about
40s, but test.csv contains a lot of values which have a
fractional part of .5.</div>
<div style=""><br>
</div>
<div style="">However when I run with the command:</div>
<div style=""><br>
</div>
<div style=""><span style="font-family:'courier new',monospace">cbc
test.mps.gz -solve -printi csv -solu test.csv</span><br>
</div>
<div style=""><span style="font-family:'courier new',monospace"><br>
</span></div>
<div style="">I get an objective value of 3907349 after about
170s and all of the results are integers.</div>
<div style=""><br>
</div>
<div style="">I am aware that the results might not be exact
integers (<a moz-do-not-send="true"
href="http://list.coin-or.org/pipermail/cbc/2014-June/001367.html">http://list.coin-or.org/pipermail/cbc/2014-June/001367.html</a>),
however this seems a bit extreme.</div>
<div style=""><br>
</div>
<div style="">Am I doing something wrong or have I stumbled into
a bug?</div>
<div style=""><br>
</div>
<div style="">Thanks for your help!</div>
<div style="">Michael</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Cbc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a>
</pre>
</blockquote>
<br>
</body>
</html>