3#ifndef _BCP_WARMSTART_DUAL_H
4#define _BCP_WARMSTART_DUAL_H
23 BCP_warmstart_dual& operator=(
const BCP_warmstart_dual&);
59 return new BCP_warmstart_dual(*
this);
65 return new BCP_warmstart_dual();
69 return _dual.storage_size();
78 const double detol)
const;
BCP_storage_t
This enumerative constant describes how to store certain data for a search tree node.
@ BCP_Storage_WrtParent
The data stored is with respect to the same kind of data in the parent of the search tree node.
This class describes the message buffer used for all processes of BCP.
This class stores a vector explicitly or relatively to another vector.
The class BCP_vec serves the same purpose as the vector class in the standard template library.
virtual BCP_storage_t storage() const
Return how the warmstarting info is stored.
virtual BCP_warmstart * clone() const
Make a replica of the current warmstart information.
virtual ~BCP_warmstart_dual()
BCP_warmstart_dual(const BCP_warmstart_dual &ws)
Copy constructor.
BCP_warmstart_dual(const double *first, const double *last)
Create an explicitly stored warmstart info by considering the double array [first,...
virtual BCP_warmstart * empty_wrt_this() const
Create a warmstart info describing that no change should be done.
virtual int storage_size() const
Return how much memory it'll take to pack this warmstart info.
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 void update(const BCP_warmstart *const change)
Update the current data with the one in the argument.
void pack(BCP_buffer &buf) const
Pack the warmstart info into a buffer.
virtual CoinWarmStart * convert_to_CoinWarmStart() const
Return an CoinWarmStart object that can be fed to the LP engine.
BCP_warmstart_dual(BCP_buffer &buf)
Create the object by unpacking it from a buffer.
Warmstarting information for the LP solver.