3 #include "CoinWarmStartBasis.hpp"
45 Can't update a BCP_warmstart_basis with a different warmstart.\n");
59 const double detol)
const
65 trying to describe a BCP_warmstart_basis as a change to a different ws!\n");
69 current data is not explicit!\n");
73 BCP_warmstart_dual::as_change : old_ws is WrtParent!\n");
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...
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.
const BCP_vec< T > & explicit_vector() const
Return a const reference to the vector if it is explicitly stored, otherwise throw an exception...
iterator begin()
Return an iterator to the beginning of the object.
Warmstarting information for the LP solver.
virtual CoinWarmStart * convert_to_CoinWarmStart() const
Return an CoinwarmStart object that can be fed to the LP engine.
The data stored is an explicit listing of values.
BCP_warmstart_basis()
The default constructor creates an empty WrtParent warmstart info (i.e., no change wrt the parent)...
The data stored is with respect to the same kind of data in the parent of the search tree node...
BCP_storage_t storage() const
Return the storage type of the vector.
void fint fint fint real fint real real real real real real real real real fint real fint fint fint real * ws
void update(const BCP_vec_change< T > &change)
Update the current vector with the argument vector.
virtual void update(const BCP_warmstart *const change)
Update the current data with the one in the argument.
Currently there isn't any error handling in BCP.
BCP_vec_change< char > _cut_stat
The stati of the cuts stored as a vector change.
size_t size() const
Return the current number of entries.
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.
virtual BCP_storage_t storage() const
Return how the warmstarting info is stored.