#include <CbcSubProblem.hpp>
Public Member Functions | |
CbcSubProblem () | |
Default constructor. | |
CbcSubProblem (const OsiSolverInterface *solver, const double *lowerBefore, const double *upperBefore, const unsigned char *status, int depth) | |
Constructor from model. | |
CbcSubProblem (const CbcSubProblem &) | |
Copy constructor. | |
CbcSubProblem & | operator= (const CbcSubProblem &rhs) |
Assignment operator. | |
virtual | ~CbcSubProblem () |
Destructor. | |
void | takeOver (CbcSubProblem &, bool cleanup) |
Take over. | |
void | apply (OsiSolverInterface *model, int what=3) const |
Apply subproblem (1=bounds, 2=basis, 3=both). | |
Public Attributes | |
double | objectiveValue_ |
Value of objective. | |
double | sumInfeasibilities_ |
Sum of infeasibilities. | |
double | branchValue_ |
Branch value. | |
double | djValue_ |
Dj on branching variable at end. | |
int * | variables_ |
Which variable (top bit if upper bound changing) next bit if changing on down branch only. | |
double * | newBounds_ |
New bound. | |
CoinWarmStartBasis * | status_ |
Status. | |
int | depth_ |
Depth. | |
int | numberChangedBounds_ |
Number of Extra bound changes. | |
int | numberInfeasibilities_ |
Number of infeasibilities. | |
int | problemStatus_ |
Status 1 bit going up on first, 2 bit set first branch infeasible on second, 4 bit redundant branch, bits after 256 give reason for stopping (just last node) 0 - solution 1 - infeasible 2 - maximum depth >2 - error or max time or something. | |
int | branchVariable_ |
Variable branched on. |
Definition at line 19 of file CbcSubProblem.hpp.
CbcSubProblem::CbcSubProblem | ( | ) |
Default constructor.
CbcSubProblem::CbcSubProblem | ( | const OsiSolverInterface * | solver, | |
const double * | lowerBefore, | |||
const double * | upperBefore, | |||
const unsigned char * | status, | |||
int | depth | |||
) |
Constructor from model.
CbcSubProblem::CbcSubProblem | ( | const CbcSubProblem & | ) |
Copy constructor.
virtual CbcSubProblem::~CbcSubProblem | ( | ) | [virtual] |
Destructor.
CbcSubProblem& CbcSubProblem::operator= | ( | const CbcSubProblem & | rhs | ) |
Assignment operator.
void CbcSubProblem::takeOver | ( | CbcSubProblem & | , | |
bool | cleanup | |||
) |
Take over.
void CbcSubProblem::apply | ( | OsiSolverInterface * | model, | |
int | what = 3 | |||
) | const |
Apply subproblem (1=bounds, 2=basis, 3=both).
Value of objective.
Definition at line 49 of file CbcSubProblem.hpp.
Sum of infeasibilities.
Definition at line 51 of file CbcSubProblem.hpp.
double CbcSubProblem::branchValue_ |
Branch value.
Definition at line 53 of file CbcSubProblem.hpp.
double CbcSubProblem::djValue_ |
Dj on branching variable at end.
Definition at line 55 of file CbcSubProblem.hpp.
Which variable (top bit if upper bound changing) next bit if changing on down branch only.
Definition at line 58 of file CbcSubProblem.hpp.
double* CbcSubProblem::newBounds_ |
New bound.
Definition at line 60 of file CbcSubProblem.hpp.
CoinWarmStartBasis* CbcSubProblem::status_ [mutable] |
Status.
Definition at line 62 of file CbcSubProblem.hpp.
Depth.
Definition at line 64 of file CbcSubProblem.hpp.
Number of Extra bound changes.
Definition at line 66 of file CbcSubProblem.hpp.
Number of infeasibilities.
Definition at line 68 of file CbcSubProblem.hpp.
Status 1 bit going up on first, 2 bit set first branch infeasible on second, 4 bit redundant branch, bits after 256 give reason for stopping (just last node) 0 - solution 1 - infeasible 2 - maximum depth >2 - error or max time or something.
Definition at line 76 of file CbcSubProblem.hpp.
Variable branched on.
Definition at line 78 of file CbcSubProblem.hpp.