Go to the documentation of this file.
31 #ifndef AbcNodeDesc_h_
32 #define AbcNodeDesc_h_
34 #include "CoinHelperFunctions.hpp"
35 #include "CoinWarmStartBasis.hpp"
40 class OsiSolverInterface;
44 class OsiRowCutDebugger;
133 assert(numCols > index);
165 assert(numCols > index);
185 std::cerr <<
"Not implemented!" << std::endl;
186 throw std::exception();
190 std::cerr <<
"Not implemented!" << std::endl;
191 throw std::exception();
195 std::cerr <<
"Not implemented!" << std::endl;
196 throw std::exception();
virtual AlpsReturnStatus encode(AlpsEncoded *encoded) const
Pack this node description into the given AlpsEncoded object.
const double * getColUpper() const
Get pointer to array[getNumCols()] of column upper bounds.
int branchedOn_
The index of the branching variable.
void setUpperBounds(const double *ub, const int size)
void setBranchedOnValue(double b)
void setUpperBound(const int index, const double ub)
const double * getColLower() const
Get pointer to array[getNumCols()] of column lower bounds.
This is an abstract base class for subproblem data to be stored in a tree node.
double branchedOnVal_
The solution value (non-integral) of the branching variable.
AlpsKnowledgeBroker * broker()
Get pointer to the knowledge broker.
int getNumCols() const
Get number of columns.
int numberRows_
Number of rows in problem (before these cuts).
void setLowerBounds(const double *lb, const int size)
double getBranchedOnValue() const
void setBranchedDir(int d)
virtual AlpsNodeDesc * decode(AlpsEncoded &encoded) const
Decode the given AlpsEncoded object into a new AlpsKnowledge object and return a pointer to it.
Model class for ALPS Branch and Cut.
int getBranchedDir() const
virtual AlpsReturnStatus decodeToSelf(AlpsEncoded &encoded)
Unpack fields from the given AlpsEncoded object.
void setBranchedOn(int b)
int branchedDir_
Branching direction.
void setLowerBound(const int index, const double lb)
int getBranchedOn() const