64 bool report_if_default =
false)
66 if (report_if_default) {
67 printf(
"BCP_user_pack : default pack_warmstart() executed.\n");
75 bool report_if_default =
false)
77 if (report_if_default) {
78 printf(
"BCP_user_pack : default unpack_warmstart() executed.\n");
89BCP_user_pack::pack_var_algo() invoked but not overridden!\n");
96BCP_user_pack::unpack_var_algo() invoked but not overridden!\n");
105BCP_user_pack::pack_cut_algo() invoked but not overridden!\n");
112BCP_user_pack::unpack_cut_algo() invoked but not overridden!\n");
122BCP_user_pack::pack_user_data() invoked but not overridden!\n");
129BCP_user_pack::unpack_user_data() invoked but not overridden!\n");
189 const char *
const * arglist) {
215 virtual BCP_vp_user *
vp_init(BCP_vp_prob& p) {
220 virtual BCP_cp_user *
cp_init(BCP_cp_prob& p) {
int bcp_main(int argc, char *argv[], USER_initialize *user_init)
This is the function the user must invoke when (s)he is ready to turn contrl over to BCP.
void BCP_pack_warmstart(const BCP_warmstart *ws, BCP_buffer &buf)
BCP_warmstart * BCP_unpack_warmstart(BCP_buffer &buf)
This class describes the message buffer used for all processes of BCP.
This class is the central class of the Cut Generator process.
The BCP_cg_user class is the base class from which the user can derive a problem specific class to be...
This is the class from which the user should derive her own algorithmic cuts.
Currently there isn't any error handling in BCP.
The BCP_lp_user class is the base class from which the user can derive a problem specific class to be...
This is an abstract base class that describes the message passing environment.
The BCP_tm_user class is the base class from which the user can derive a problem specific class to be...
virtual ~BCP_user_class()
virtual BCP_cut_algo * unpack_cut_algo(BCP_buffer &buf)
Unpack an algorithmic cut.
virtual void pack_warmstart(const BCP_warmstart *ws, BCP_buffer &buf, bool report_if_default=false)
Pack warmstarting information.
virtual void pack_var_algo(const BCP_var_algo *var, BCP_buffer &buf)
Pack an algorithmic variable.
virtual BCP_warmstart * unpack_warmstart(BCP_buffer &buf, bool report_if_default=false)
Unpack warmstarting information.
BCP_user_class * user_class
A pointer ot the usr class of the process from which the methods of this class are invoked from.
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.
virtual void pack_user_data(const BCP_user_data *ud, BCP_buffer &buf)
Pack an user data.
virtual void pack_cut_algo(const BCP_cut_algo *cut, BCP_buffer &buf)
Pack an algorithmic cut.
This is the class from which the user should derive her own algorithmic variables.
This class is the central class of the Variable Generator process.
The BCP_vg_user class is the base class from which the user can derive a problem specific class to be...
Warmstarting information for the LP solver.
This class is an abstract base class for the initializer class the user has to provide.
virtual ~USER_initialize()
virtual destructor
virtual BCP_ts_user * ts_init(BCP_ts_prob &p)
virtual BCP_vg_user * vg_init(BCP_vg_prob &p)
virtual BCP_tm_user * tm_init(BCP_tm_prob &p, const int argnum, const char *const *arglist)
virtual BCP_message_environment * msgenv_init(int argc, char *argv[])
Create a message passing environment.
virtual BCP_vp_user * vp_init(BCP_vp_prob &p)
virtual BCP_lp_user * lp_init(BCP_lp_prob &p)
virtual BCP_cp_user * cp_init(BCP_cp_prob &p)
virtual BCP_user_pack * packer_init(BCP_user_class *p)
virtual BCP_cg_user * cg_init(BCP_cg_prob &p)