<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Babak,<br>
<br>
Rather a broad question as you give no clue how A and B are
related.<br>
<br>
What do you mean by setWarmstart? Nothing of that name exists.<br>
<br>
setHotStartSolution might help - the idea is that it tries to
branch towards a given solution, but gives up when infeasible -
but may be close to a solution.<br>
<br>
<br>
John Forrest<br>
On 01/09/15 03:00, Babak Moazzez wrote:<br>
</div>
<blockquote
cite="mid:CAEHJM4=8dn53J0Z0_9yhP2vkcSCU_A8Fukwuy63yRhHuKP9Afg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi
<div><br>
</div>
<div> I am trying to do warm start for MILP problems:</div>
<div><br>
</div>
<div> I solve model A, and save solution. I want to use that
solution for model B, but model B has extra variables and
constraints. Is it possible to use A's solution for B? If so,
which method? </div>
<div><br>
</div>
<div>setMIPStart and setWarmStart don't work, the only thing
that works is </div>
<div><br>
</div>
<div>model.setBestSolution(sol,n,obj,true); </div>
<div><br>
</div>
<div>but I don't know how to do that when B has extra variables!</div>
<div><br>
</div>
<div>Thanks<br clear="all">
<div><br>
</div>
<div class="gmail_signature">
<div dir="ltr">Babak Moazzez<br>
<br>
</div>
</div>
</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>