94 throw BCP_fatal_error(
"OS_lp::pack_user_data() : unknown data type!\n");
96 printf(
"OS_lp::pack_user_data:\n");
107 printf(
"OS_lp::unpack_user_data:\n");
114 printf(
"user_data deleted\n");
Simple representation of a cut by storing non zero coefficients only.
virtual BCP_cut_algo * unpack_cut_algo(BCP_buffer &buf)
Unpack an algorithmic cut.
This is the class from which the user should derive her own algorithmic cuts.
virtual void pack_cut_algo(const BCP_cut_algo *cut, BCP_buffer &buf)
Pack an algorithmic cut.
void print() const
Dump the fields of the class.
real_user_data * p_rud
Pointer on an object holding the user data itself.
virtual void pack_var_algo(const BCP_var_algo *var, BCP_buffer &buf)
Pack warmstarting information.
void pack(BCP_buffer &buf) const
Packing to buffer.
void pack(BCP_buffer &buf) const
Class taking care of interaction between user data and Bcp.
virtual BCP_user_data * unpack_user_data(BCP_buffer &buf)
Unpack an user data.
virtual BCP_var_algo * unpack_var_algo(BCP_buffer &buf)
Unpack an algorithmic variable.
Currently there isn't any error handling in BCP.
virtual void pack_user_data(const BCP_user_data *ud, BCP_buffer &buf)
Pack an user data.
int is_processed
Indicator for mmory management: If is_processed = 1, the associated user data may be erased...
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 pack(BCP_buffer &buf) const
Packing cut to a buffer.