<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">John,<br>
<br>
<font size="-1">I ha<font size="-1">ve the same kind of problem
than (Vol78, Issue 6)<font size="-1">:<font size="-1"> <font
size="-1">s</font></font></font><font size="-1">wapping
two </font>lines of the cost function to minimize modif<font
size="-1">ies</font> <font size="-1">the solver re<font
size="-1">sult (problem infeasible or not).<br>
<br>
<font size="-1">What i did:<br>
</font></font></font></font></font></font>
<ul>
<li><font size="-1">Download the Cbc-2.8.8 archive
(<a class="moz-txt-link-freetext" href="http://www.coin-or.org/download/source/Cbc/">http://www.coin-or.org/download/source/Cbc/</a></font><font
size="-1"><font size="-1">Cbc-2.8.8.tgz</font>)</font></li>
<li><font size="-1">Inflate it (tar xzf Cbc-2.8.8.t<font size="-1">gz)</font></font></li>
<li><font size="-1"><font size="-1"><font size="-1">Copy the
Vol78,Issue 6 fix you recently did: cp
<a class="moz-txt-link-freetext" href="https://projects.coin-or.org/Cgl/browser/stable/0.58/Cgl/src/CglProbing/CglProbing.cpp">https://projects.coin-or.org/Cgl/browser/stable/0.58/Cgl/src/CglProbing/CglProbing.cpp</a>
Cbc-2.8.8/Cgl/src/CglProbing/CglProbing.cpp</font></font></font></li>
<li><font size="-1"><font size="-1"><font size="-1"><font
size="-1">Build the binaries<font size="-1">:
./configure -C; make; make test; make install</font></font></font></font></font></li>
<li><font size="-1"><font size="-1"><font size="-1"><font
size="-1"><font size="-1"><font size="-1">Solve the
attached problem: Cbc-2.8.8/bin/cbc test.lp -> <font
size="-1">The p</font>roblem is declared as
infeasible</font></font></font></font></font></font></li>
<li><font size="-1">Swap lines 11<font size="-1">2</font> &
113 (those surrounded by bl<font size="-1">an<font size="-1">k
lines) and solve agai<font size="-1">n</font> -> <font
size="-1">The optimal solutio<font size="-1">n<font
size="-1"> is found.</font></font></font></font></font></font></li>
</ul>
<p><font size="-1">Obviously, i could remove these lines that are
not used by the cost f<font size="-1">unction<font size="-1">
since <font size="-1">mul </font></font>coef<font
size="-1">ficients <font size="-1">are</font> <font
size="-1">null. But, <font size="-1">this constraint file
is generated by a piece of code and it is easier to <font
size="-1">keep these unnecessary lines in the cost
function (i expect the solver ignore them). <br>
</font></font></font></font></font></font></p>
<p><font size="-1">Any help will be greatly appreciated.<br>
</font></p>
<p><font size="-1"><font size="-1">Regards<font size="-1">,<br>
</font></font></font></p>
<p><font size="-1"><font size="-1"><font size="-1"><font size="-1">Yves</font><br>
</font></font></font></p>
<p><font size="-1"><font size="-1"><font size="-1"><font size="-1"><font
size="-1"><br>
</font></font></font></font></font></p>
<p><font size="-1"><font size="-1"><font size="-1"><font size="-1"><font
size="-1"><br>
</font></font></font></font></font></p>
</body>
</html>