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