[Coin-discuss] Generating both cuts and vars

fmargot at andrew.cmu.edu fmargot at andrew.cmu.edu
Sat Jul 1 13:04:25 EDT 2006


You need to modify BCP_lp_generate_cuts.cpp, around line 90 and 206. 
Replace

const int cnt = cp.remove_nonviolated(petol);

by

const int cnt = 0;

Note that this is a BCP related question and should be posted to
the coin-bcpdiscuss mailing list.

Francois


On Fri, 30 Jun 2006, Heesu Hwang wrote:

> I tried to change some parameters, but still doesn't work.
>
> When I generated cuts and inserted them into the rows within
> XX_lp::cuts_to_rows(),
> COIN doesn't allow to insert cuts that are inefficient.
>
> What I am trying to do is,
> 1) adding cuts, and some of them may be inefficient
> 2) adding variables, at this point, inefficient cuts can turn into efficient
> ones.
>
> Regards,
>
> Heesu.
>
>
>
> Use the parameter file. Set:
>
> BCP_IneffectiveConstraints              0
>
> I don't know how to deal with variables.
>
> Francois
>
> On Fri, 30 Jun 2006, Heesu Hwang wrote:
>
>> Hi, Laci.
>>
>> I am using cuts in BB example, i.e., class BB_cut : public
>> BCP_cut_algo, public OsiRowCut. When I threw cuts into the rows vector
>> within XX_lp::cuts_to_rows(), COIN seems to delete some ineffective
>> cuts. I tried *->make_non_removable, but it doesn't work.
>> Also it doesn't work for vars either.
>> Can I keep all the cuts and vars that I've generated, even they are not
>> ineffective?
>>
>> Thanks,
>>
>> Heesu Hwang.
>>
>>
>>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>
>
>



More information about the Coin-discuss mailing list