[Cgl] Re: [Coin-discuss] generateCpp()

fmargot at andrew.cmu.edu fmargot at andrew.cmu.edu
Tue Oct 3 15:32:57 EDT 2006



On Mon, 2 Oct 2006, John J Forrest wrote:

> Whom else!
>
> If a cut generator (or heuristic etc) is modified from its default
> constructor and then this is called  a series of lines of code is output
> which changes the default generator to the current state.
>

Except that there is some kind of key associated with the lines of code:
I see lines starting with

0
3
4

What is the meaning of these keys? Is it possible to have a line
starting with other numbers? What about 1 and 2?

> I wrote it when feeling in need of light entertainment, however it has a
> serious purpose.  If you use the stand-alone cbc (or any other solver)
> then your commands may change the behavior of the cut generators.  When
> you like the result you add -cpp 1 (other numbers create more output) and
> lo and behold  a driver is created which mimics those actions.
>

I add "-cpp 1" to what? Command line of cbc?

Francois


More information about the Cgl mailing list