8 int numarcs =
flow.getNumElements();
10 buf.
pack(
flow.getElements(), numarcs);
26 flow.assignVector(numarcs, ind, val,
false );
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.
MCF2_var(int com, const CoinPackedVector &f, double w)
void pack(BCP_buffer &buf) const
BCP_var_algo * MCF2_unpack_var(BCP_buffer &buf)
MCF2_branching_var(int comm, int ind, int lb0, int ub0, int lb1, int ub1)
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.
This class describes the message buffer used for all processes of BCP.
void set_obj(const double obj)
Set the objective coefficient.
void MCF2_pack_var(const BCP_var_algo *var, BCP_buffer &buf)