<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Joel,<br>
<br>
Unable to reproduce with latest stable.<br>
<br>
I get<br>
<br>
opening mipstart file ./Matching-pulp-simplify.sol.<br>
MIPStart values read for 32 variables.<br>
Continuous objective value is 745 - 0.00 seconds<br>
Cgl0008I 15 inequality constraints converted to equality
constraints<br>
Cgl0004I processed model has 68 rows, 167 columns (162 integer
(162 of which binary)) and 503 elements<br>
Cutoff increment increased from 1e-05 to 0.9999<br>
Cbc0045I MIPStart provided solution with cost 1195<br>
<br>
or<br>
<br>
opening mipstart file ./Matching-manual.sol.<br>
MIPStart values read for 15 variables.<br>
Continuous objective value is 745 - 0.00 seconds<br>
Cgl0008I 15 inequality constraints converted to equality
constraints<br>
Cgl0004I processed model has 68 rows, 167 columns (162 integer
(162 of which binary)) and 503 elements<br>
Cutoff increment increased from 1e-05 to 0.9999<br>
Cbc0045I Trying just fixing integer variables.<br>
Cbc0045I Warning: mipstart values could not be used to build a
solution.<br>
<br>
So try latest version and see if that fixes.<br>
<br>
John Forrest<br>
Using On 27/12/15 19:54, Joel Cofield wrote:<br>
</div>
<blockquote
cite="mid:CANoTCQftFqNX7+3M4ncCXrVUdsihtib=RJG_tPyJWTp4MjR07Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Hi All,<br>
<br>
</div>
I am trying to run cbc through the command line with an
initial solution but it does not work. My .lp and three tries
at a .sol file are attached.<br>
<br>
My first attempt uses a .sol file generated by an initial run
of the same MIP but does not provide all of the variables for
some reason:<br>
cbc Matching-pulp.lp mips Matching-init-pulp.sol solve<br>
...<br>
Cbc0045I MIPStart solution provided values for 1 of 162
integer variables, 22 variables are still fractional.<br>
<br>
</div>
<div>My second attempt was to simplify the solution file but I
get a segmentation fault:<br>
cbc Matching-pulp.lp mips Matching-init-pulp_simpler.sol solve<br>
<br>
</div>
<div>So then I tried just making my own solution file and also
received a segmentation fault:<br>
<br>
</div>
<div>cbc Matching-pulp.lp mips Matching-manual.sol solve<br>
Welcome to the CBC MILP Solver <br>
Version: 2.9.0 <br>
Build Date: Feb 12 2015 <br>
<br>
command line -
/Library/Python/2.7/site-packages/PuLP-1.5.6-py2.7.egg/pulp/solverdir/cbc/osx/64/cbc
Matching-pulp.lp mips Matching-manual.sol solve (default
strategy 1)<br>
CoinLpIO::readLp(): Maximization problem reformulated as
minimization<br>
will open mipstart file ./Matching-manual.sol.<br>
mipstart values read for 15 variables.<br>
Continuous objective value is 745 - 0.00 seconds<br>
Cgl0008I 15 inequality constraints converted to equality
constraints<br>
Cgl0004I processed model has 68 rows, 167 columns (162 integer
(162 of which binary)) and 503 elements<br>
Cutoff increment increased from 1e-05 to 0.9999<br>
Segmentation fault: 11<br>
<br>
<br>
</div>
<div>If I just run cbc Matching-pulp.lp solve then cbc finds the
optimal solution.<br>
<br>
</div>
<div>Why are these file causing memory issues? Are there mips
file standards I can follow or is this a bug?<br>
<br>
</div>
<div>Thanks,<br>
<br>
</div>
<div>Joel<br>
</div>
<div><br>
</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>