[Coin-discuss] Having both Core variables AND core cuts core-dumps

Tommy Thomadsen tt at imm.dtu.dk
Tue Apr 29 03:24:31 EDT 2003


That makes sense - thank you!

I haven't had time to rewrite my code, but I am sure that what you point
out is the problem.

Best Regards,
Tommy

> > using bcp, shouldn't it be possible to have both core variables and
> > core cuts?
> 
> 
> yes
> 
> 
> 
> > I cannot make it work - I get a core-dump when BCP_lp_add_rows_to_lp is
> > called in BCP_lp_create_lp. 
> > 
> > The following reproduce the error for the MaxCut example.
> > Add the following two lines to MC_tm::initialize_core in MC_tm.cpp:
> >   cuts.reserve(1);
> >   cuts.unchecked_push_back(new BCP_cut_core(0.0, 0.0));
> 
> 
> if you declare both vars and cuts in the core, i am pretty sure you also 
> have to declare the matrix (i.e., describe the rows as well) to 
> BCP_lp_relax*& matrix... check out the construction in Examples/BranchAndCut
> 
> i should also be posting an update to the Lehigh tutorial in the next 
> week (or two) which will have some very simple BCP examples
> 
> 
> Matt
> 
> 
> 
> -- 
> Matthew Galati
> ISE Lehigh University
> IBM Service Parts Solutions
> 610.758.4042 (Office)
> 610.882.0779 (Home)
> magh at lehigh.edu, magal11 at us.ibm.com
> http://sagan.ie.lehigh.edu/mgalati/
> 
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at www-124.ibm.com
> http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss
> 




More information about the Coin-discuss mailing list