16#ifndef AlpsDecompNodeDesc_h_
17#define AlpsDecompNodeDesc_h_
69 std::string m_classTag;
CoinWarmStartBasis * UtilAlpsDecodeWarmStart(AlpsEncoded &encoded, AlpsReturnStatus *rc)
Unpack coin warm start from an encoded object.
int UtilAlpsEncodeWarmStart(AlpsEncoded *encoded, const CoinWarmStartBasis *ws)
Pack coin warm start into an encoded object.
Derivation of AlpsModel for DECOMP.
const int getNumCoreCols() const
Get number of cols in core decomp model.
Derivation of AlpsNodeDesc for DECOMP.
std::vector< std::pair< int, double > > getBranched() const
Get branching set.
double * lowerBounds_
lower bounds in original space
double * upperBounds_
upper bounds in original space
virtual ~AlpsDecompNodeDesc()
Destructor.
int branchedDir_
Branched direction to create it.
virtual AlpsReturnStatus encode(AlpsEncoded *encoded) const
Pack node description into an encoded.
virtual AlpsReturnStatus decode(AlpsEncoded &encoded)
Unpack a node description from an encoded.
CoinWarmStartBasis * basis_
Warm start.
AlpsDecompNodeDesc(AlpsDecompModel *m, const double *lb, const double *ub)
AlpsDecompNodeDesc(AlpsModel *m)
Useful constructor.
void setBranchedDir(int d)
Set branching direction.
int numberCols_
number of columns in original space
CoinWarmStartBasis * getBasis() const
Get warm start basis.
AlpsDecompNodeDesc()
Default constructor.
std::vector< std::pair< int, double > > branched_
Branched set of indices/values to create it.
int getBranchedDir() const
Get branching direction.
void setBranched(std::vector< std::pair< int, double > > b)
Set branching set.
void setBasis(CoinWarmStartBasis *&ws)
Set basis.
AlpsReturnStatus decodeAlpsDecomp(AlpsEncoded &encoded)
Unpack blis portion of node description from an encoded.
AlpsReturnStatus encodeAlpsDecomp(AlpsEncoded *encoded) const
Pack blis portion of node description into an encoded.
AlpsEncoded & readRep(T &value)
AlpsEncoded & writeRep(const T &value)