8 int numarcs =
flow.getNumElements();
10 buf.
pack(
flow.getElements(), numarcs);
26 flow.assignVector(numarcs, ind, val,
false );
MCF1_var(int com, const CoinPackedVector &f, double w)
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.
BCP_var_algo * MCF1_unpack_var(BCP_buffer &buf)
void pack(BCP_buffer &buf) const
void MCF1_pack_var(const BCP_var_algo *var, BCP_buffer &buf)
MCF1_branching_var(int comm, int ind, int lb0, int ub0, int lb1, int ub1)
void pack(BCP_buffer &buf) const
Currently there isn't any error handling in BCP.
This is the class from which the user should derive her own algorithmic variables.
This class describes the message buffer used for all processes of BCP.
void set_obj(const double obj)
Set the objective coefficient.