16 #ifndef AlpsDecompNodeDesc_h_
17 #define AlpsDecompNodeDesc_h_
Derivation of AlpsNodeDesc for DECOMP.
int numberCols_
number of columns in original space
void setBranchedDir(int d)
Set branching direction.
AlpsEncoded & readRep(T &value)
Read a single object of type <code>T</code> from <code>repsentation_ .
AlpsEncoded & writeRep(const T &value)
Write a single object of type <code>T</code> in <code>repsentation_ .
int getBranchedDir() const
Get branching direction.
AlpsDecompNodeDesc(AlpsModel *m)
Useful constructor.
AlpsDecompNodeDesc(AlpsDecompModel *m, const double *lb, const double *ub)
Store the name of the class (for logging/debugging) - "who am I?".
AlpsDecompNodeDesc()
Default constructor.
std::vector< std::pair< int, double > > branched_
Branched set of indices/values to create it.
void setBranched(std::vector< std::pair< int, double > > b)
Set branching set.
std::string m_classTag
Store the name of the class (for logging/debugging) - "who am I?".
AlpsReturnStatus decodeAlpsDecomp(AlpsEncoded &encoded)
Unpack blis portion of node description from an encoded.
This data structure is to contain the packed form of an encodable knowledge.
double * lowerBounds_
lower bounds in original space
virtual AlpsReturnStatus encode(AlpsEncoded *encoded) const
Pack node description into an encoded.
Derivation of AlpsModel for DECOMP.
double * upperBounds_
upper bounds in original space
CoinWarmStartBasis * UtilAlpsDecodeWarmStart(AlpsEncoded &encoded, AlpsReturnStatus *rc)
Unpack coin warm start from an encoded object.
CoinWarmStartBasis * getBasis() const
Get warm start basis.
virtual AlpsReturnStatus decode(AlpsEncoded &encoded)
Unpack a node description from an encoded.
virtual ~AlpsDecompNodeDesc()
Destructor.
const int getNumCoreCols() const
Get number of cols in core decomp model.
CoinWarmStartBasis * basis_
Warm start.
std::vector< std::pair< int, double > > getBranched() const
Get branching set.
AlpsReturnStatus encodeAlpsDecomp(AlpsEncoded *encoded) const
Pack blis portion of node description into an encoded.
int UtilAlpsEncodeWarmStart(AlpsEncoded *encoded, const CoinWarmStartBasis *ws)
Pack coin warm start into an encoded object.
void setBasis(CoinWarmStartBasis *&ws)
Set basis.
A class to refer to the description of a search tree node.
The default COIN simplex (basis-oriented) warm start class.
int branchedDir_
Branched direction to create it.