<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">To do the fixing, I would try -<br>
<br>
Write your own event handler - see some of the example driver
programs.<br>
<br>
With that you can look at solutions as they are generated (event
solution) - when you want to start fixing variables then check
event node - if node then use
model_->solver()->setColUpper(column,0.0) for wanted
columns.<br>
<br>
Only problem is when variable has been branched to 1.0 - if so
leave it for now - it would be easy to change code in CbcModel.cpp
to mark as infeasible.<br>
<br>
This should reduce search space.<br>
<br>
John Forrest<br>
<br>
On 20/07/14 04:45, sct wrote:<br>
</div>
<blockquote cite="mid:53CB3B74.1000200@yahoo.com.sg" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Programmatically<br>
<br>
On 7/20/2014 9:57 AM, Haroldo Santos wrote:<br>
</div>
<blockquote
cite="mid:CACO7Fp3os6pjwsTmWjsdaUYUF9SmKJDG=-Xn-0LTFt9dChCQZQ@mail.gmail.com"
type="cite">
<p dir="ltr">Programmatically or using the command line ?</p>
<div class="gmail_quote">Em 19/07/2014 21:12, "sct" <<a
moz-do-not-send="true"
href="mailto:see_chuenteck@yahoo.com.sg">see_chuenteck@yahoo.com.sg</a>>
escreveu:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi,<br>
<br>
After solving CBC for some iteration, if I am confident that
some binary variables are definitely zero, how do it fix
their values in CBC. The objective is to continue CBC with a
reduced problem, so that it solves faster. Thanks a lot.<br>
_______________________________________________<br>
Cbc mailing list<br>
<a moz-do-not-send="true" href="mailto:Cbc@list.coin-or.org"
target="_blank">Cbc@list.coin-or.org</a><br>
<a moz-do-not-send="true"
href="http://list.coin-or.org/mailman/listinfo/cbc"
target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
</blockquote>
</div>
</blockquote>
<br>
<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>