16 #ifndef BcpsDecompNodeDesc_h_ 17 #define BcpsDecompNodeDesc_h_ 21 #include "BcpsNodeDesc.h" 223 status = encodeBcps(encoded);
234 status = decodeBcps(encoded);
int getBranchedOn() const
int branchedInd_
Branched object index to create it.
BcpsDecompNodeDesc()
Default constructor.
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.
virtual ~BcpsDecompNodeDesc()
Destructor.
void setBranchedVal(double d)
Set branching value.
void setBranchedInd(int d)
Set branching object index.
AlpsEncoded & writeRep(const T &value)
AlpsReturnStatus decodeBcpsDecomp(AlpsEncoded &encoded)
Unpack blis portion of node description from an encoded.
AlpsReturnStatus encodeBcpsDecomp(AlpsEncoded *encoded) const
Pack blis portion of node description into an encoded.
virtual AlpsReturnStatus decode(AlpsEncoded &encoded)
Unpack a node description from an encoded.
virtual AlpsReturnStatus encode(AlpsEncoded *encoded) const
Pack node description into an encoded.
AlpsEncoded & readRep(T &value)
double getBranchedVal() const
Get branching direction.
int numberRows_
Number of rows in problem (before these cuts).
void setBasis(CoinWarmStartBasis *&ws)
Set basis.
double branchedVal_
Branched value to create it.
int branchedDir_
Branched direction to create it.
int getBranchedInd() const
Get branching object index.
void setBranchedOn(int b)
BcpsDecompNodeDesc(BcpsDecompModel *m, const double *lb, const double *ub)
int getBranchedDir() const
Get branching direction.
void setBranchedDir(int d)
Set branching direction.
CoinWarmStartBasis * getBasis() const
Get warm start basis.
CoinWarmStartBasis * basis_
Warm start.
BcpsDecompNodeDesc(BcpsModel *m)
Useful constructor.