<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Matthew,<br>
<br>
Look at driver4.cpp in Cbc/examples. You could easily turn some
of that into your SolveModelLikeCli (with optional string of
parameters).<br>
<br>
John Forrest<br>
<br>
On 26/07/14 00:06, Matthew Gidden wrote:<br>
</div>
<blockquote
cite="mid:CAHRdPFydsvCwiA2cFzyk7TmSwis-tOPt38bL1QbUY+osWb3U_Q@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I've discovered that the cbc CLI does a pretty good job at
solving my class of problems. In short, I'm curious if
there's a way to get that rich functionality at the API level.
Ideally, I'd like to do something like the following:</div>
<div><br>
</div>
<blockquote class="gmail_quote">model = ConstructModel();<br>
SolveModelLikeCLI(model); </blockquote>
<div><br>
</div>
<div>It looks like the implementation is one long function
(cbcMain1 is 8k+ lines) and would be incredibly difficult to
cherry-pick implementation from it. I've scoured the API docs
and haven't found anything that looks promising.
Alternatively, is there a listing of all the heuristics, cuts,
branching strategies, etc., used by the default CLI?<br>
<div><br>
</div>
<div>Sorry if this is an obvious question; I was hoping to
leverage the features already implemented before
reimplementing something myself.</div>
<div><br>
</div>
-- <br>
<div dir="ltr">Matthew Gidden<br>
Ph.D. Candidate, Nuclear Engineering
<div>
The University of Wisconsin -- Madison<br>
Ph. 225.892.3192<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>