Public Member Functions | |
LCI (std::vector< int > coeff, int r, std::map< int, var > &map) | |
virtual void | non_zero_entries (row &r) |
Public Attributes | |
std::vector< int > | coeff_array |
int | rhs |
std::map< int, var > & | item_index_map |
Definition at line 10 of file cp_knapsack.h.
void SCIL::LCI::non_zero_entries | ( | row & | r | ) | [virtual] |
returns the non-zero entries of the basic constraint. the default implementation returns no non-zeros. A user defined constraint-schema should redefine this function.
Reimplemented from SCIL::cons_obj.
Definition at line 22 of file cp_knapsack.cc.