67 BCP_lp_cut_pool::compute_violations() : rows are not valid\n");
68 while (first != last) {
69 (*first)->compute_violation(lpres);
129 BCP_lp_var_pool::compute_red_costs() : cols are not valid\n");
130 while (first != last) {
131 (*first)->compute_red_cost(lpres);
const BCP_row * row() const
This class holds a column in a compressed form.
BCP_lp_waiting_row(BCP_cut *cut, BCP_row *row=0, double viol=-1)
void set_col(BCP_col *&col)
void cols_are_valid(bool status)
void rows_are_valid(bool status)
Abstract base class that defines members common to all types of cuts.
BCP_lp_waiting_col(const BCP_lp_waiting_col &)
int remove_nonviolated(const double etol)
const BCP_var * var() const
static bool _rows_are_valid
void set_row(BCP_row *&row)
static bool _cols_are_valid
BCP_lp_waiting_row(const BCP_lp_waiting_row &)
void compute_red_cost(const BCP_lp_result &lpres)
void compute_violation(const BCP_lp_result &lpres)
int remove_positives(const double etol)
BCP_lp_waiting_col & operator=(const BCP_lp_waiting_col &)
bool rows_are_valid() const
void compute_violations(const BCP_lp_result &lpres, BCP_lp_cut_pool::iterator first, BCP_lp_cut_pool::iterator last)
const BCP_col * col() const
BCP_lp_waiting_col(BCP_var *var, BCP_col *col=0, double rc=0)
Abstract base class that defines members common to all types of variables.
Currently there isn't any error handling in BCP.
void set_violation(double v)
The class BCP_vec serves the same purpose as the vector class in the standard template library...
BCP_lp_var_pool & operator=(const BCP_lp_var_pool &)
void purge_ptr_vector(BCP_vec< T * > &pvec, typename BCP_vec< T * >::iterator first, typename BCP_vec< T * >::iterator last)
This function purges the entries [first,last) from the vector of pointers pvec.
const BCP_cut * cut() const
BCP_lp_cut_pool & operator=(const BCP_lp_cut_pool &)
This class holds the results after solving an LP relaxation.
bool cols_are_valid() const
void compute_red_costs(const BCP_lp_result &lpres, BCP_lp_var_pool::iterator first, BCP_lp_var_pool::iterator last)
This class holds a row in a compressed form.
BCP_lp_waiting_row & operator=(const BCP_lp_waiting_row &)