3 #ifndef _BCP_WARMSTART_BASIS_H
4 #define _BCP_WARMSTART_BASIS_H
51 const char* cfirst,
const char* clast) :
89 const double detol)
const;
virtual BCP_warmstart * as_change(const BCP_warmstart *const old_ws, const BCP_vec< int > &del_vars, const BCP_vec< int > &del_cuts, const double petol, const double detol) const
Return a pointer to a warmstart info describing the currently stored data as a change with respect to...
virtual BCP_warmstart * empty_wrt_this() const
Create a warmstart info describing that no change should be done.
BCP_vec_change< char > _var_stat
The stati of the variables stored as a vector change.
int storage_size() const
Return how much memory it'll take to pack this info.
BCP_warmstart_basis(const BCP_warmstart_basis &ws)
Copy constructor.
Warmstarting information for the LP solver.
virtual CoinWarmStart * convert_to_CoinWarmStart() const
Return an CoinwarmStart object that can be fed to the LP engine.
BCP_warmstart_basis & operator=(const BCP_warmstart_basis &)
The assignment operator is declared but not defined to disable it.
BCP_warmstart_basis()
The default constructor creates an empty WrtParent warmstart info (i.e., no change wrt the parent)...
void pack(BCP_buffer &buf) const
Pack the warmstart info into a buffer.
virtual int storage_size() const
Return how much memory it'll take to pack this warmstart info.
The data stored is with respect to the same kind of data in the parent of the search tree node...
BCP_warmstart_basis(const char *vfirst, const char *vlast, const char *cfirst, const char *clast)
Create an explicitly stored warmstart info by considering the two character arrays ([vfirst...
void fint fint fint real fint real real real real real real real real real fint real fint fint fint real * ws
virtual void update(const BCP_warmstart *const change)
Update the current data with the one in the argument.
BCP_vec_change< char > _cut_stat
The stati of the cuts stored as a vector change.
virtual BCP_warmstart * clone() const
Make a replica of the current warmstart information.
This class describes the message buffer used for all processes of BCP.
This class describes a warmstart information that consists of basis information for structural and ar...
BCP_storage_t
This enumerative constant describes how to store certain data for a search tree node.
void pack(BCP_buffer &buf) const
Pack the data into a buffer.
~BCP_warmstart_basis()
Create the object by unpacking it from a buffer.
BCP_warmstart_basis(BCP_buffer &buf)
Create the object by unpacking it from a buffer.
virtual BCP_storage_t storage() const
Return how the warmstarting info is stored.