Dip
0.92.4
|
#include <BcpsDecompNodeDesc.h>
Public Member Functions | |
BcpsDecompNodeDesc () | |
Default constructor. More... | |
BcpsDecompNodeDesc (BcpsModel *m) | |
Useful constructor. More... | |
BcpsDecompNodeDesc (BcpsDecompModel *m, const double *lb, const double *ub) | |
virtual | ~BcpsDecompNodeDesc () |
Destructor. More... | |
void | setBasis (CoinWarmStartBasis *&ws) |
Set basis. More... | |
CoinWarmStartBasis * | getBasis () const |
Get warm start basis. More... | |
void | setBranchedOn (int b) |
int | getBranchedOn () const |
void | setBranchedDir (int d) |
Set branching direction. More... | |
int | getBranchedDir () const |
Get branching direction. More... | |
void | setBranchedInd (int d) |
Set branching object index. More... | |
int | getBranchedInd () const |
Get branching object index. More... | |
void | setBranchedVal (double d) |
Set branching value. More... | |
double | getBranchedVal () const |
Get branching direction. More... | |
virtual AlpsReturnStatus | encode (AlpsEncoded *encoded) const |
Pack node description into an encoded. More... | |
virtual AlpsReturnStatus | decode (AlpsEncoded &encoded) |
Unpack a node description from an encoded. More... | |
Public Attributes | |
double * | lowerBounds_ |
double * | upperBounds_ |
int | numberRows_ |
Number of rows in problem (before these cuts). More... | |
int | numberCols_ |
int | branchedDir_ |
Branched direction to create it. More... | |
int | branchedInd_ |
Branched object index to create it. More... | |
double | branchedVal_ |
Branched value to create it. More... | |
CoinWarmStartBasis * | basis_ |
Warm start. More... | |
Protected Member Functions | |
AlpsReturnStatus | encodeBcpsDecomp (AlpsEncoded *encoded) const |
Pack blis portion of node description into an encoded. More... | |
AlpsReturnStatus | decodeBcpsDecomp (AlpsEncoded &encoded) |
Unpack blis portion of node description from an encoded. More... | |
Definition at line 40 of file BcpsDecompNodeDesc.h.
|
inline |
Default constructor.
Definition at line 79 of file BcpsDecompNodeDesc.h.
|
inline |
Useful constructor.
Definition at line 90 of file BcpsDecompNodeDesc.h.
|
inline |
Definition at line 99 of file BcpsDecompNodeDesc.h.
References BcpsDecompModel::getNumCols(), BcpsDecompModel::getNumRows(), lowerBounds_, numberCols_, numberRows_, and upperBounds_.
|
inlinevirtual |
Destructor.
Definition at line 119 of file BcpsDecompNodeDesc.h.
References basis_, lowerBounds_, and upperBounds_.
|
inline |
|
inline |
|
inline |
Definition at line 141 of file BcpsDecompNodeDesc.h.
References branchedInd_.
|
inline |
Definition at line 142 of file BcpsDecompNodeDesc.h.
References branchedInd_.
|
inline |
Set branching direction.
Definition at line 145 of file BcpsDecompNodeDesc.h.
References branchedDir_.
|
inline |
Get branching direction.
Definition at line 148 of file BcpsDecompNodeDesc.h.
References branchedDir_.
|
inline |
Set branching object index.
Definition at line 151 of file BcpsDecompNodeDesc.h.
References branchedInd_.
|
inline |
Get branching object index.
Definition at line 154 of file BcpsDecompNodeDesc.h.
References branchedInd_.
|
inline |
|
inline |
Get branching direction.
Definition at line 160 of file BcpsDecompNodeDesc.h.
References branchedVal_.
|
inlineprotected |
Pack blis portion of node description into an encoded.
Definition at line 169 of file BcpsDecompNodeDesc.h.
References AlpsReturnStatusOk, basis_, branchedDir_, branchedInd_, branchedVal_, UtilAlpsEncodeWarmStart(), and AlpsEncoded::writeRep().
Referenced by encode().
|
inlineprotected |
Unpack blis portion of node description from an encoded.
Definition at line 193 of file BcpsDecompNodeDesc.h.
References AlpsReturnStatusOk, basis_, branchedDir_, branchedInd_, branchedVal_, AlpsEncoded::readRep(), and UtilAlpsDecodeWarmStart().
Referenced by decode().
|
inlinevirtual |
Pack node description into an encoded.
Definition at line 220 of file BcpsDecompNodeDesc.h.
References AlpsReturnStatusOk, and encodeBcpsDecomp().
|
inlinevirtual |
Unpack a node description from an encoded.
Fill member data.
Definition at line 230 of file BcpsDecompNodeDesc.h.
References AlpsReturnStatusOk, and decodeBcpsDecomp().
double* BcpsDecompNodeDesc::lowerBounds_ |
Definition at line 52 of file BcpsDecompNodeDesc.h.
Referenced by BcpsDecompNodeDesc(), and ~BcpsDecompNodeDesc().
double* BcpsDecompNodeDesc::upperBounds_ |
Definition at line 54 of file BcpsDecompNodeDesc.h.
Referenced by BcpsDecompNodeDesc(), and ~BcpsDecompNodeDesc().
int BcpsDecompNodeDesc::numberRows_ |
Number of rows in problem (before these cuts).
This means that for top of chain it must be rows at continuous
Definition at line 58 of file BcpsDecompNodeDesc.h.
Referenced by BcpsDecompNodeDesc().
int BcpsDecompNodeDesc::numberCols_ |
Definition at line 60 of file BcpsDecompNodeDesc.h.
Referenced by BcpsDecompNodeDesc().
int BcpsDecompNodeDesc::branchedDir_ |
Branched direction to create it.
Definition at line 64 of file BcpsDecompNodeDesc.h.
Referenced by decodeBcpsDecomp(), encodeBcpsDecomp(), getBranchedDir(), and setBranchedDir().
int BcpsDecompNodeDesc::branchedInd_ |
Branched object index to create it.
Definition at line 67 of file BcpsDecompNodeDesc.h.
Referenced by decodeBcpsDecomp(), encodeBcpsDecomp(), getBranchedInd(), getBranchedOn(), setBranchedInd(), and setBranchedOn().
double BcpsDecompNodeDesc::branchedVal_ |
Branched value to create it.
Definition at line 70 of file BcpsDecompNodeDesc.h.
Referenced by decodeBcpsDecomp(), encodeBcpsDecomp(), getBranchedVal(), and setBranchedVal().
CoinWarmStartBasis* BcpsDecompNodeDesc::basis_ |
Warm start.
Definition at line 74 of file BcpsDecompNodeDesc.h.
Referenced by decodeBcpsDecomp(), encodeBcpsDecomp(), getBasis(), setBasis(), and ~BcpsDecompNodeDesc().