CbcGeneralDepth Class Reference

Define a catch all class. More...

#include <CbcBranchActual.hpp>

Inheritance diagram for CbcGeneralDepth:
CbcGeneral CbcObject

List of all members.

Public Member Functions

 CbcGeneralDepth ()
 CbcGeneralDepth (CbcModel *model, int maximumDepth)
 Useful constructor Just needs to point to model.
 CbcGeneralDepth (const CbcGeneralDepth &)
virtual CbcObjectclone () const
 Clone.
CbcGeneralDepthoperator= (const CbcGeneralDepth &rhs)
 ~CbcGeneralDepth ()
virtual double infeasibility (int &preferredWay) const
 Infeasibility - large is 0.5.
virtual void feasibleRegion ()
 This looks at solution and sets bounds to contain solution.
virtual CbcBranchingObjectcreateBranch (int way)
 Creates a branching object.
int maximumNodes () const
 Return maximum number of nodes.
int maximumDepth () const
 Get maximum depth.
void setMaximumDepth (int value)
 Set maximum depth.
int whichSolution () const
 Get which solution.
ClpNode * nodeInfo (int which)
 Get ClpNode info.
virtual void redoSequenceEtc (CbcModel *model, int numberColumns, const int *originalColumns)
 Redoes data when sequence numbers change.

Protected Attributes

int maximumDepth_
 data Maximum depth
int maximumNodes_
 Maximum nodes.
int whichSolution_
 Which node has solution (or -1).
int numberNodes_
 Number of valid nodes (including whichSolution_).
ClpNodeStuff * nodeInfo_
 For solving nodes.

Detailed Description

Define a catch all class.

This will create a list of subproblems using partial evaluation

Definition at line 1477 of file CbcBranchActual.hpp.


Constructor & Destructor Documentation

CbcGeneralDepth::CbcGeneralDepth (  ) 
CbcGeneralDepth::CbcGeneralDepth ( CbcModel model,
int  maximumDepth 
)

Useful constructor Just needs to point to model.

Initial version does evaluation to depth N This is stored in CbcModel but may be better here

CbcGeneralDepth::CbcGeneralDepth ( const CbcGeneralDepth  ) 
CbcGeneralDepth::~CbcGeneralDepth (  ) 

Member Function Documentation

virtual CbcObject* CbcGeneralDepth::clone (  )  const [virtual]

Clone.

Implements CbcGeneral.

CbcGeneralDepth& CbcGeneralDepth::operator= ( const CbcGeneralDepth rhs  ) 

Reimplemented from CbcGeneral.

virtual double CbcGeneralDepth::infeasibility ( int &  preferredWay  )  const [virtual]

Infeasibility - large is 0.5.

Implements CbcGeneral.

virtual void CbcGeneralDepth::feasibleRegion (  )  [virtual]

This looks at solution and sets bounds to contain solution.

Implements CbcGeneral.

virtual CbcBranchingObject* CbcGeneralDepth::createBranch ( int  way  )  [virtual]

Creates a branching object.

Implements CbcGeneral.

int CbcGeneralDepth::maximumNodes (  )  const [inline]

Return maximum number of nodes.

Definition at line 1516 of file CbcBranchActual.hpp.

int CbcGeneralDepth::maximumDepth (  )  const [inline]

Get maximum depth.

Definition at line 1519 of file CbcBranchActual.hpp.

void CbcGeneralDepth::setMaximumDepth ( int  value  )  [inline]

Set maximum depth.

Definition at line 1522 of file CbcBranchActual.hpp.

int CbcGeneralDepth::whichSolution (  )  const [inline]

Get which solution.

Definition at line 1525 of file CbcBranchActual.hpp.

ClpNode* CbcGeneralDepth::nodeInfo ( int  which  )  [inline]

Get ClpNode info.

Definition at line 1528 of file CbcBranchActual.hpp.

virtual void CbcGeneralDepth::redoSequenceEtc ( CbcModel model,
int  numberColumns,
const int *  originalColumns 
) [virtual]

Redoes data when sequence numbers change.

Implements CbcGeneral.


Member Data Documentation

data Maximum depth

Definition at line 1537 of file CbcBranchActual.hpp.

Maximum nodes.

Definition at line 1539 of file CbcBranchActual.hpp.

int CbcGeneralDepth::whichSolution_ [mutable, protected]

Which node has solution (or -1).

Definition at line 1541 of file CbcBranchActual.hpp.

int CbcGeneralDepth::numberNodes_ [mutable, protected]

Number of valid nodes (including whichSolution_).

Definition at line 1543 of file CbcBranchActual.hpp.

ClpNodeStuff* CbcGeneralDepth::nodeInfo_ [mutable, protected]

For solving nodes.

Definition at line 1545 of file CbcBranchActual.hpp.


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

Generated on Tue Nov 24 00:15:26 2009 by  doxygen 1.6.1