[Cbc] CBC stand-alone vs callable

John Forrest john.forrest at fastercoin.com
Wed Mar 21 07:30:51 EDT 2018


Andrea,

If you use CbcMain0 and CbcMain1 you can get the same functionality.  
Look at the various driver*.cpp examples in Cbc/examples.

John Forrest

On 21/03/18 11:17, Andrea Manno wrote:
>
> Dear all,
>
>
> I would kindly ask you two questions about the usage of CBC.
>
>
> 1) I am using the callable version of CBC as the MILP solver unit 
> embedded in a c++ code. So what I am doing is nothing but including 
> all the needed CBC, OSI and CGL  header file and linking all the 
> necessary library in order to use the branchAnbBound() method of the 
> CbcModel class. However I would like to replicate exactly the 
> performance of the stand-alone executable version of cbc that I have 
> used on the same instances as AMPL solver. Anyone knows the setting of 
> the stand-alone executable version of cbc? I'am referring to the 
> default options of presolve/preprocess, heuristics and cuts in the 
> stand-alone version.
>
>
> 2) In case preprocess/presolve is needed for the answer of question 
> 1), which is the right way to invoke the preprocess/presolve before 
> the branchAnbBound() method (It si not so clear from the examples and 
> from the user guide). It si possible to have a simple example?
>
>
> Thank you so much,
>
>
> Andrea Manno
>
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> https://list.coin-or.org/mailman/listinfo/cbc


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20180321/3dadd292/attachment.html>


More information about the Cbc mailing list