<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="MSHTML 6.00.2900.3627" name="GENERATOR">
</head>
<body>
<div dir="ltr" align="left"><span class="304255102-02112009"><font face="Arial" color="#0000ff" size="2">Hi again John,</font></span></div>
<div dir="ltr" align="left"><span class="304255102-02112009"><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="304255102-02112009"><font face="Arial" color="#0000ff" size="2">As I mentioned before this solution works well, thanks again. Total runtime is around 300 seconds.</font></span></div>
<div dir="ltr" align="left"><span class="304255102-02112009"><font face="Arial" color="#0000ff" size="2">However, when I went to implement this solution in&nbsp;my TP application I found that the runtime drastically increased to over 2 hours.</font></span></div>
<div dir="ltr" align="left"><span class="304255102-02112009"><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="304255102-02112009"><font face="Arial" color="#0000ff" size="2">After some investigation I found that the solution&nbsp;found by RENS in the TP application was not within the 0.01% gap, but it is when I use driver4 with the
 settings below.</font></span></div>
<div dir="ltr" align="left"><span class="304255102-02112009"><font face="Arial" color="#0000ff" size="2">The only difference I could find was that in my TP application the problem is modelled as a maximization but because the driver1 program reads&nbsp;an mps file
 containing the problem, this is already a minimization.</font></span></div>
<div dir="ltr" align="left"><span class="304255102-02112009"></span><span class="304255102-02112009"><font face="Arial" color="#0000ff" size="2">When I&nbsp;negated the&nbsp;all the objective function coefficients and made the original problem a minimization in the TP
 application itself, the runtime was back down to about 300 seconds.</font></span></div>
<div dir="ltr" align="left"><span class="304255102-02112009"><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="304255102-02112009"><font face="Arial" color="#0000ff" size="2">Regards,</font></span></div>
<div dir="ltr" align="left"><span class="304255102-02112009"><font face="Arial" color="#0000ff" size="2">Michael De Feyter</font></span></div>
<br>
<div class="OutlookMessageHeader" lang="en-us" dir="ltr" align="left">
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> John J Forrest [mailto:jjforre@us.ibm.com]
<br>
<b>Sent:</b> Thursday, 29 October 2009 11:04 PM<br>
<b>To:</b> Defeyter, Michael<br>
<b>Subject:</b> Re: [Cbc] Cbc hanging<br>
</font><br>
</div>
<div></div>
<p>Michael,<br>
<br>
I don't think it is hanging - just wasting time doing cuts and strong branching.<br>
<br>
One problem is that the heuristics don't seem to work well. There are two which have a chance - rounding and one called RENS. Neither worked with tp.mps. However I noticed that you have pairs of identical rows which are &gt;=0 and &lt;=0. There is code in Cbc to
 find identical rows, but I see that it only looks for identical rhs or where one is inside the other. If I manually make all such rows ==0, then rounding and RENS both work well. Cplex has a default to stop if the gap is less than 0.01%. If I do the same in
 Cbc it solves in two minutes.<br>
<br>
I have fixed trunk to do something for intersecting identical rows. Very oddly, rounding still does not find anything - but RENS did.<br>
<br>
If you look at driver4.cpp - you can see how to use command line version. With trunk I used<br>
<br>
cbc tp.mps -divingc off -rens on -cuts off -ratio 0.0001 -trust 1 -strong 1 -hot 10 -solve<br>
<br>
The -trust... stuff is just to stop it spending much time in strong branching.<br>
<br>
John Forrest<br>
<br>
<img height="16" alt="Inactive hide details for &quot;Defeyter, Michael&quot; ---10/28/2009 12:27:10 AM---Hi John, I've been testing Cbc with Clp to solve tran" src="cid:304255102@02112009-0BDC" width="16" border="0"><font color="#424282">&quot;Defeyter, Michael&quot; ---10/28/2009
 12:27:10 AM---Hi John, I've been testing Cbc with Clp to solve transport assignment problem, normally I use Cplex.</font><br>
<br>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tbody>
<tr valign="top">
<td width="1%"><img height="1" alt="" src="cid:304255102@02112009-0BE3" width="96" border="0"><br>
<font color="#5f5f5f" size="2">From:</font></td>
<td width="100%"><img height="1" alt="" src="cid:304255102@02112009-0BE3" width="1" border="0"><br>
<font size="2">&quot;Defeyter, Michael&quot; &lt;Michael.Defeyter@bluescopesteel.com&gt;</font></td>
</tr>
<tr valign="top">
<td width="1%"><img height="1" alt="" src="cid:304255102@02112009-0BE3" width="96" border="0"><br>
<font color="#5f5f5f" size="2">To:</font></td>
<td width="100%"><img height="1" alt="" src="cid:304255102@02112009-0BE3" width="1" border="0"><br>
<font size="2">&quot;cbc@list.coin-or.org&quot; &lt;cbc@list.coin-or.org&gt;</font></td>
</tr>
<tr valign="top">
<td width="1%"><img height="1" alt="" src="cid:304255102@02112009-0BE3" width="96" border="0"><br>
<font color="#5f5f5f" size="2">Date:</font></td>
<td width="100%"><img height="1" alt="" src="cid:304255102@02112009-0BE3" width="1" border="0"><br>
<font size="2">10/28/2009 12:27 AM</font></td>
</tr>
<tr valign="top">
<td width="1%"><img height="1" alt="" src="cid:304255102@02112009-0BE3" width="96" border="0"><br>
<font color="#5f5f5f" size="2">Subject:</font></td>
<td width="100%"><img height="1" alt="" src="cid:304255102@02112009-0BE3" width="1" border="0"><br>
<font size="2">[Cbc] Cbc hanging</font></td>
</tr>
<tr valign="top">
<td width="1%"><img height="1" alt="" src="cid:304255102@02112009-0BE3" width="96" border="0"><br>
<font color="#5f5f5f" size="2">Sent by:</font></td>
<td width="100%"><img height="1" alt="" src="cid:304255102@02112009-0BE3" width="1" border="0"><br>
<font size="2">cbc-bounces@list.coin-or.org</font></td>
</tr>
</tbody>
</table>
</p>
<hr style="COLOR: #8091a5" align="left" width="100%" noshade="" size="2">
<br>
<br>
<br>
<font face="Arial">Hi John,</font><br>
<font size="4"></font><br>
<font face="Arial">I've been testing Cbc with Clp to solve transport assignment problem, normally I use Cplex.</font><br>
<font face="Arial">Cbc works fine on smaller versions of the problem but when I use it on the full size problem, it seems to hang after a while.</font><br>
<font face="Arial">The same problem solves fine using Cplex.</font><br>
<font face="Arial">You can download the mps file from this location (it's a 2.6Mb zip file, I was not sure how to upload it to the mailing list so I've put it on my website):</font><br>
<a href="http://www.flightdeckce.com/Download/tp.zip"><u><font face="Arial" color="#0000ff">http://www.flightdeckce.com/Download/tp.zip</font></u></a><br>
<font size="4"></font><br>
<font face="Arial">I solve this using the sample2 code with the preprocess option turned on, when I don't use the preprocess option it solves for a bit longer but eventually hangs as well.</font><br>
<font face="Arial">Thanks in advance,</font><br>
<font size="4"></font><br>
<font face="Arial">Regards,</font><br>
<font face="Arial">Michael De Feyter</font><br>
<font size="4"><br>
</font>
<hr align="left" width="100%" size="2">
<font face="Arial" color="#808080" size="2"><br>
<br>
NOTICE - This message and any attached files may contain information that is confidential, legally privileged or proprietary. It is intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering
 the message to the intended recipient, be advised that you have received this message in error. Any dissemination, copying, use or re-transmission of this message or attachment, or the disclosure of any information therein, is strictly forbidden. BlueScope
 Steel Limited does not represent or guarantee that this message or attachment is free of errors, virus or interference.<br>
<br>
If you have received this message in error please notify the sender immediately and delete the message. Any views expressed in this email are not necessarily the views of BlueScope Steel Limited.</font><tt>_______________________________________________<br>
Cbc mailing list<br>
Cbc@list.coin-or.org<br>
</tt><tt><a href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a></tt><tt><br>
</tt><br>
<br>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
<br>
NOTICE - This message and any attached files may contain information that is confidential, legally privileged or proprietary. It is intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering
 the message to the intended recipient, be advised that you have received this message in error. Any dissemination, copying, use or re-transmission of this message or attachment, or the disclosure of any information therein, is strictly forbidden. BlueScope
 Steel Limited does not represent or guarantee that this message or attachment is free of errors, virus or interference.<br>
<br>
If you have received this message in error please notify the sender immediately and delete the message. Any views expressed in this email are not necessarily the views of BlueScope Steel Limited.<br>
</font>
</body>
</html>