<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Thanks Bob.<br><br>However, I think that I am doing what you suggest and it is not working.<br>Here is what I do.<br>I set my integer variables to a given value as follows:<br><br>let {i in T} x[i]:= xinit[i];<br><br>The solution defined by the xinit values is integer feasible.<br>However, CBC does not use this integer solution as the incumbent one in the tree, since CBC takes a lot of time and nodes in the tree before coming up with a first integer feasible solution.<br><br>So could you tell me why I am having this issue and how to resolve it?<br><br><br>Many thanks,<br><br>Pratim<br></div><br><br><br><hr id="EC_stopSpelling">From: 4er@iems.northwestern.edu<br>To: pratim_usc@hotmail.com; cbc@list.coin-or.org<br>Subject: RE: [Cbc] Initial integer feasible solution<br>Date: Thu, 2 Oct 2008 23:51:09 -0500<br><br>


<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">



<style>
.ExternalClass .EC_shape
{;}
</style>


<style>
</style>

<style>
.ExternalClass p.EC_MsoNormal, .ExternalClass li.EC_MsoNormal, .ExternalClass div.EC_MsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass a:link, .ExternalClass span.EC_MsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.EC_MsoHyperlinkFollowed
{color:blue;text-decoration:underline;}
.ExternalClass p
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass span.EC_EmailStyle18
{font-family:'Courier New';color:black;font-weight:normal;font-style:normal;text-decoration:none none;}
@page Section1
{size:8.5in 11.0in;}
.ExternalClass div.EC_Section1
{page:Section1;}

</style>





<div class="EC_Section1">

<p class="EC_MsoNormal" style="margin-right: 208.5pt;"><font size="2" color="black" face="Courier New"><span style="font-size: 10pt; font-family: 'Courier New'; color: black;">Just assign the incumbent values to the AMPL variables, and AMPL
will automatically pass those values to the solver. &nbsp;Then the solver is
free to do whatever it can with them.</span></font></p>

<p class="EC_MsoNormal" style="margin-right: 208.5pt;"><font size="2" color="black" face="Courier New"><span style="font-size: 10pt; font-family: 'Courier New'; color: black;">&nbsp;</span></font></p>

<p class="EC_MsoNormal" style="margin-right: 208.5pt;"><font size="2" color="black" face="Courier New"><span style="font-size: 10pt; font-family: 'Courier New'; color: black;">Bob Fourer</span></font></p>

<p class="EC_MsoNormal" style="margin-right: 208.5pt;"><font size="2" color="black" face="Courier New"><span style="font-size: 10pt; font-family: 'Courier New'; color: black;">4er@ampl.com</span></font><font size="2" color="black" face="Courier New"><span style="font-size: 10pt; font-family: 'Courier New'; color: black;"></span></font></p>

<p class="EC_MsoNormal" style="margin-right: 208.5pt;"><font size="2" color="black" face="Courier New"><span style="font-size: 10pt; font-family: 'Courier New'; color: black;">&nbsp;</span></font></p>

<p class="EC_MsoNormal" style="margin-right: 208.5pt;"><font size="2" color="black" face="Courier New"><span style="font-size: 10pt; font-family: 'Courier New'; color: black;">&nbsp;</span></font></p>

<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">

<div>

<div class="EC_MsoNormal" style="text-align: center;" align="center"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">

<hr size="2" width="100%" align="center">

</span></font></div>

<p class="EC_MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;">
cbc-bounces@list.coin-or.org [mailto:cbc-bounces@list.coin-or.org] <b><span style="font-weight: bold;">On Behalf Of </span></b>Pratim Vakish<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, October 02, 2008
8:12 PM<br>
<b><span style="font-weight: bold;">To:</span></b> cbc@list.coin-or.org<br>
<b><span style="font-weight: bold;">Subject:</span></b> [Cbc] Initial integer
feasible solution</span></font></p>

</div>

<p class="EC_MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p class="EC_MsoNormal"><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;">Hello,<br>
<br>
I am solving large-scale MIP problems using the CBC solver and the AMPL
interface.<br>
<br>
For some problems, I know an integer feasible solution of good
"quality" and I would like CBC to use it as first incumbent solution
in the branch-and-bound tree.<br>
I think that the CBC option</span></font><font size="2" face="Courier New"><span style="font-size: 10pt; font-family: 'Courier New';"> </span></font><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;">CbcModel::setBestSolution()
allows to do that.<br>
<br>
I use AMPL and I would like to know what is the AMPL command to use this
option?<br>
How can I tell CBC (with AMPL) which solution I would like to use as first
incumbent solution?<br>
<br>
Thanks very much,<br>
&nbsp;<br>
Pratim</span></font></p>

<p class="EC_MsoNormal"><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;">&nbsp;</span></font></p>

<p class="EC_MsoNormal"><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;">&nbsp;</span></font></p>

</div>

</div>




<br /><hr />See how Windows connects the people, information, and fun that are part of your life. <a href='http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/' target='_new'>See Now</a></body>
</html>