[Cbc] Beginner here

Stefan Vigerske stefan at math.hu-berlin.de
Thu Sep 12 05:12:40 EDT 2013


Hi,

I would suggest to look into the Osi, Clp, and Cbc examples.
Osi and Clp examples may help on how to setup a model (I usually setup 
an OsiClp and pass that to Cbc).
Cbc/examples/modify.cpp may be an answer to your second question.

Stefan

On 09/12/2013 02:23 AM, Patrik Dufresne wrote:
> Hello,
>
> I'm just getting started with CoinCbc. I found the learning curve very
> steep compare to GLPK where everything is documented in details. I'm
> struggling with all the object available to create a model and solve it. To
> avoid any beginner mistake, I'm asking the mailing list in hope to get tips
> for my very specific needs.
>
> 1. If I want to create a representation of my problem using
> variables(columns) and constraints(rows), should I use the
> OsiClpSolverInterface
> or CoinModel?
>
> 2. If I need to do subsequent modification to the problem (e.g.: adding
> variables or constraints), can I reuse the same object over and over again?
>
> Basically, I need to create a problem. Solve it. Add a new constraint.
> Solve it. etc. etc. A snippet would be very welcome.
>
> Thanks
>
> --
> Patrik Dufresne Service Logiciel
> http://patrikdufresne.com/
> 514-971-6442
> 438-738-1376
> 114 rue des Hautbois, app1
> St-Colomban, QC J5K 2H6
>
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
>



More information about the Cbc mailing list