12 varIndex( idx), coinPackedVec(false), weight(w)
14 std::cout <<
"INSIDE VAR CONSTRUCTOR OS_var(int idx, const CoinPackedVector& f, double w) " << std::endl;
16 f.getIndices(), f.getElements(),
false);
26 std::cout <<
"INSIDE VAR CONSTRUCTOR OS_var(BCP_buffer& buf) " << std::endl;
45 std::cout <<
"PACKING OS_var::pack(BCP_buffer& buf) " << std::endl;
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.
void fint fint fint real fint real real real real * f
void pack(BCP_buffer &buf) const
OS_var(int idx, const CoinPackedVector &f, double w)
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.
CoinPackedVector coinPackedVec
void fint fint fint real fint real real real real real real real real * w
General integer variable.