coin-Bcp
Classes
BCP_USER.hpp File Reference
#include "CoinSmartPtr.hpp"
#include "BCP_error.hpp"
#include "BCP_message_single.hpp"
#include "BCP_functions.hpp"
Include dependency graph for BCP_USER.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BCP_user_data
 
class  BCP_user_class
 
class  BCP_user_pack
 
class  USER_initialize
 This class is an abstract base class for the initializer class the user has to provide. More...
 

Functions

This abstract base class contains Methods that pack/unpack warmstart,

var_algo and cut_algo objects.

The packing methods take an object and a buffer as an argument and the user is supposed to pack the object into the buffer.

The argument of the unpacking methods is just the buffer. The user is supposed to return a pointer to the unpacked object.

NOTE: within these methods the user can try to dynamic cast user_class into BCP_tm_user*, BCP_lp_user*, etc., and when the cast succeeds the user knows in which process the methods was called, and also, the user will have access to the other methods of that class.

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. More...
 

Function Documentation

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.

The arguments of the function are the command line arguments and a pointer to an initializer object. That object should be derived from the USER_initialize class. Its member methods will be invoked to initialize the user controlled parts of the branch-and-cut-and-price procedure.