[Coin-discuss] Generating both cuts and vars
Laszlo Ladanyi
ladanyi at us.ibm.com
Fri Jun 30 17:02:34 EDT 2006
Hmm.... the make_non_removable should work... do you have a small example code
that reproduces your problem? I'll try to track it down without, but it'd be
mush easier with a sample.
A temporary workaround is that in the parameter file you set
BCP_IneffectiveConstraints 0
0 stands for BCP_IneffConstr_None (look at BCP_enum.hpp). However, that way
none of the added vars/cuts will ever be deleted, so if you generate cuts, the
code might be a bit overwhelmed...
--Laci
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