CbcSubProblem Class Reference

#include <CbcSubProblem.hpp>

Collaboration diagram for CbcSubProblem:
Collaboration graph
[legend]

List of all members.

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.
CbcSubProblemoperator= (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.
CoinWarmStartBasisstatus_
 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.

Detailed Description

Definition at line 19 of file CbcSubProblem.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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).


Member Data Documentation

Value of objective.

Definition at line 49 of file CbcSubProblem.hpp.

Sum of infeasibilities.

Definition at line 51 of file CbcSubProblem.hpp.

Branch value.

Definition at line 53 of file CbcSubProblem.hpp.

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.

New bound.

Definition at line 60 of file CbcSubProblem.hpp.

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.


The documentation for this class was generated from the following file:

Generated on 5 Apr 2015 for Dip-All by  doxygen 1.6.1