<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">Marco,<br>
<br>
There was an option to try heuristics even if it looked
unpromising. I have modified code so that if this is set then
heuristics do not get switched off even if unknown branching
objects.<br>
<br>
When I did this code entered heuristics, but feasibility pump
decided it wasn't worth it on your tiny problem (too high a
proportion of general integer variables). There was a way to tell
that particular heuristic to carry on. You can see the way that
was set in attached sample.<br>
<br>
It should all be safe - although it is possible an heuristic may
get a solution which is then thrown out on closer inspection - but
that's OK.<br>
<br>
John Forrest<br>
On 01/07/14 11:06, mg wrote:<br>
</div>
<blockquote
cite="mid:CAOayR=Y=DRWFaT1a6Wem86On+7q+gDj=r+mXfNA1gr=9hm7v8A@mail.gmail.com"
type="cite">
<div dir="ltr">Hi All,
<div>I'm currently solving a complex (lot-sizing like) problem
where some variables are semi-continuous in the sense that
they're zero or greater than a certain threshold.</div>
<div><br>
</div>
<div>Of course this discontinuity can be implemented either
using a binary variable or using a CbcLotSize branching
object, with the latter being theoretically more efficient
than the former.</div>
<div><br>
</div>
<div>Problem is, if I introduce a LotSize object, this
automatically disable all the heuristics (I'm solving the
problem through CallCBC) since they do not support objects
other than integers or SOS...</div>
<div><br>
</div>
<div>But as I said the problem is complex, the time to solve it
is limited and the heuristics usually greatly help in finding
the best solution.</div>
<div><br>
</div>
<div>Do you have any suggestion on how to work around this issue
? </div>
<div>Should I introduce a binary variable instead of the branch
object ?<br>
</div>
<div><br>
</div>
<div>Thanks in advance,</div>
<div>Marco</div>
<div><br>
</div>
<div>P.S.</div>
<div>I'm using CBC trunk</div>
<div><br>
</div>
<div><br>
</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>