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