24 MKC_var(
const double c,
const int num,
int *& entr,
const int clr[2]) :
51 double dj(
const double* dual)
const {
52 double red_cost =
cost;
103 throw BCP_fatal_error(
"MKC: Unknown variable type in MKC_var_unpack().\n");
116 regular_var->
pack(buf);
128 throw BCP_fatal_error(
"MKC: Unknown variable type in MKC_var_pack().\n");
BCP_buffer & pack(const T &value)
Pack a single object of type T.
BCP_buffer & unpack(T &value)
Unpack a single object of type T.
double dj(const double *dual) const
MKC_var(const MKC_var &x)
MKC_branching_var(const int order_ind, const int num, int *&slist)
void pack(BCP_buffer &buf) const
Currently there isn't any error handling in BCP.
void pack(BCP_buffer &buf) const
This is the class from which the user should derive her own algorithmic variables.
void MKC_var_pack(const BCP_var_algo *var, BCP_buffer &buf)
This class describes the message buffer used for all processes of BCP.
void set_obj(const double obj)
Set the objective coefficient.
BCP_var_algo * MKC_var_unpack(BCP_buffer &buf)
MKC_branching_var(BCP_buffer &buf)
MKC_var(const double c, const int num, int *&entr, const int clr[2])