#include <ClpNode.hpp>
Collaboration diagram for ClpNode:

Public Member Functions | |
Useful methods | |
| void | applyNode (ClpSimplex *model, int doBoundsEtc) |
| Applies node to model 0 - just tree bounds 1 - tree bounds and basis etc 2 - saved bounds and basis etc. | |
| int | fixOnReducedCosts (ClpSimplex *model) |
| Fix on reduced costs. | |
| void | createArrays (ClpSimplex *model) |
| Create odd arrays. | |
| void | cleanUpForCrunch () |
| Clean up as crunch is different model. | |
Gets and sets | |
| double | objectiveValue () const |
| Objective value. | |
| void | setObjectiveValue (double value) |
| Set objective value. | |
| const double * | primalSolution () const |
| Primal solution. | |
| const double * | dualSolution () const |
| Dual solution. | |
| double | branchingValue () const |
| Initial value of integer variable. | |
| double | sumInfeasibilities () const |
| Sum infeasibilities. | |
| int | numberInfeasibilities () const |
| Number infeasibilities. | |
| double | estimatedSolution () const |
| Estimated solution value. | |
| int | way () const |
| Way for integer variable -1 down , +1 up. | |
| bool | fathomed () const |
| Return true if branch exhausted. | |
| void | changeState () |
| Change state of variable i.e. go other way. | |
| int | sequence () const |
| Sequence number of integer variable (-1 if none). | |
| bool | oddArraysExist () const |
| If odd arrays exist. | |
| const unsigned char * | statusArray () const |
| Status array. | |
Constructors, destructor | |
| ClpNode () | |
| Default constructor. | |
| ClpNode (ClpSimplex *model, const ClpNodeStuff *stuff, int depth) | |
| Constructor from model. | |
| void | gutsOfConstructor (ClpSimplex *model, const ClpNodeStuff *stuff, int arraysExist, int depth) |
| Does work of constructor (partly so gdb will work). | |
| virtual | ~ClpNode () |
| Destructor. | |
Copy methods (at present illegal - will abort) | |
| ClpNode (const ClpNode &) | |
| The copy constructor. | |
| ClpNode & | operator= (const ClpNode &) |
| Operator =. | |
Protected Attributes | |
Data | |
| double | branchingValue_ |
| Initial value of integer variable. | |
| double | objectiveValue_ |
| Value of objective. | |
| double | sumInfeasibilities_ |
| Sum of infeasibilities. | |
| double | estimatedSolution_ |
| Estimated solution value. | |
| ClpFactorization * | factorization_ |
| Factorization. | |
| ClpDualRowSteepest * | weights_ |
| Steepest edge weights. | |
| unsigned char * | status_ |
| Status vector. | |
| double * | primalSolution_ |
| Primal solution. | |
| double * | dualSolution_ |
| Dual solution. | |
| int * | lower_ |
| Integer lower bounds (only used in fathomMany). | |
| int * | upper_ |
| Integer upper bounds (only used in fathomMany). | |
| int * | pivotVariables_ |
| Pivot variables for factorization. | |
| int * | fixed_ |
| Variables fixed by reduced costs (at end of branch) 0x10000000 added if fixed to UB. | |
| branchState | branchState_ |
| State of branch. | |
| int | sequence_ |
| Sequence number of integer variable (-1 if none). | |
| int | numberInfeasibilities_ |
| Number of infeasibilities. | |
| int | numberFixed_ |
| Number fixed by reduced cost. | |
| int | flags_ |
| Flags - 1 duals scaled. | |
| int | maximumFixed_ |
| Maximum number fixed by reduced cost. | |
| int | maximumRows_ |
| Maximum rows so far. | |
| int | maximumColumns_ |
| Maximum columns so far. | |
| int | maximumIntegers_ |
| Maximum Integers so far. | |
Classes | |
| struct | branchState |
Definition at line 16 of file ClpNode.hpp.
| ClpNode::ClpNode | ( | ) |
Default constructor.
| ClpNode::ClpNode | ( | ClpSimplex * | model, | |
| const ClpNodeStuff * | stuff, | |||
| int | depth | |||
| ) |
Constructor from model.
| virtual ClpNode::~ClpNode | ( | ) | [virtual] |
Destructor.
| ClpNode::ClpNode | ( | const ClpNode & | ) |
The copy constructor.
| void ClpNode::applyNode | ( | ClpSimplex * | model, | |
| int | doBoundsEtc | |||
| ) |
Applies node to model 0 - just tree bounds 1 - tree bounds and basis etc 2 - saved bounds and basis etc.
| int ClpNode::fixOnReducedCosts | ( | ClpSimplex * | model | ) |
Fix on reduced costs.
| void ClpNode::createArrays | ( | ClpSimplex * | model | ) |
Create odd arrays.
| void ClpNode::cleanUpForCrunch | ( | ) |
Clean up as crunch is different model.
| double ClpNode::objectiveValue | ( | ) | const [inline] |
| void ClpNode::setObjectiveValue | ( | double | value | ) | [inline] |
| const double* ClpNode::primalSolution | ( | ) | const [inline] |
| const double* ClpNode::dualSolution | ( | ) | const [inline] |
| double ClpNode::branchingValue | ( | ) | const [inline] |
Initial value of integer variable.
Definition at line 50 of file ClpNode.hpp.
References branchingValue_.
| double ClpNode::sumInfeasibilities | ( | ) | const [inline] |
| int ClpNode::numberInfeasibilities | ( | ) | const [inline] |
Number infeasibilities.
Definition at line 56 of file ClpNode.hpp.
References numberInfeasibilities_.
| double ClpNode::estimatedSolution | ( | ) | const [inline] |
| int ClpNode::way | ( | ) | const |
Way for integer variable -1 down , +1 up.
| bool ClpNode::fathomed | ( | ) | const |
Return true if branch exhausted.
| void ClpNode::changeState | ( | ) |
Change state of variable i.e. go other way.
| int ClpNode::sequence | ( | ) | const [inline] |
Sequence number of integer variable (-1 if none).
Definition at line 68 of file ClpNode.hpp.
References sequence_.
| bool ClpNode::oddArraysExist | ( | ) | const [inline] |
| const unsigned char* ClpNode::statusArray | ( | ) | const [inline] |
| void ClpNode::gutsOfConstructor | ( | ClpSimplex * | model, | |
| const ClpNodeStuff * | stuff, | |||
| int | arraysExist, | |||
| int | depth | |||
| ) |
Does work of constructor (partly so gdb will work).
double ClpNode::branchingValue_ [protected] |
Initial value of integer variable.
Definition at line 109 of file ClpNode.hpp.
Referenced by branchingValue().
double ClpNode::objectiveValue_ [protected] |
Value of objective.
Definition at line 111 of file ClpNode.hpp.
Referenced by objectiveValue(), and setObjectiveValue().
double ClpNode::sumInfeasibilities_ [protected] |
Sum of infeasibilities.
Definition at line 113 of file ClpNode.hpp.
Referenced by sumInfeasibilities().
double ClpNode::estimatedSolution_ [protected] |
Estimated solution value.
Definition at line 115 of file ClpNode.hpp.
Referenced by estimatedSolution().
ClpFactorization* ClpNode::factorization_ [protected] |
ClpDualRowSteepest* ClpNode::weights_ [protected] |
unsigned char* ClpNode::status_ [protected] |
double* ClpNode::primalSolution_ [protected] |
double* ClpNode::dualSolution_ [protected] |
int* ClpNode::lower_ [protected] |
Integer lower bounds (only used in fathomMany).
Definition at line 127 of file ClpNode.hpp.
Referenced by oddArraysExist().
int* ClpNode::upper_ [protected] |
int* ClpNode::pivotVariables_ [protected] |
int* ClpNode::fixed_ [protected] |
Variables fixed by reduced costs (at end of branch) 0x10000000 added if fixed to UB.
Definition at line 133 of file ClpNode.hpp.
branchState ClpNode::branchState_ [protected] |
int ClpNode::sequence_ [protected] |
Sequence number of integer variable (-1 if none).
Definition at line 137 of file ClpNode.hpp.
Referenced by sequence().
int ClpNode::numberInfeasibilities_ [protected] |
Number of infeasibilities.
Definition at line 139 of file ClpNode.hpp.
Referenced by numberInfeasibilities().
int ClpNode::numberFixed_ [protected] |
int ClpNode::flags_ [protected] |
int ClpNode::maximumFixed_ [protected] |
int ClpNode::maximumRows_ [protected] |
int ClpNode::maximumColumns_ [protected] |
int ClpNode::maximumIntegers_ [protected] |
1.4.7