Couenne 0.5.8
Loading...
Searching...
No Matches
Couenne::CouenneOrbitBranchingObj Class Reference

"Spatial" branching object. More...

#include <CouenneOrbitBranchingObj.hpp>

+ Inheritance diagram for Couenne::CouenneOrbitBranchingObj:
+ Collaboration diagram for Couenne::CouenneOrbitBranchingObj:

Public Member Functions

 CouenneOrbitBranchingObj (OsiSolverInterface *solver, const OsiObject *originalObject, JnlstPtr jnlst, CouenneCutGenerator *c, CouenneProblem *p, expression *var, int way, CouNumber brpoint, bool doFBBT, bool doConvCuts)
 Constructor.
 
 CouenneOrbitBranchingObj (const CouenneOrbitBranchingObj &src)
 Copy constructor.
 
virtual OsiBranchingObjectclone () const
 cloning method
 
virtual double branch (OsiSolverInterface *solver=NULL)
 Execute the actions required to branch, as specified by the current state of the branching object, and advance the object's state.
 
virtual bool boundBranch () const
 does this branching object only change variable bounds?
 
void setSimulate (bool s)
 set simulate_ field below
 
- Public Member Functions inherited from Couenne::CouenneBranchingObject
 CouenneBranchingObject (OsiSolverInterface *solver, const OsiObject *originalObject, JnlstPtr jnlst, CouenneCutGenerator *c, CouenneProblem *p, expression *var, int way, CouNumber brpoint, bool doFBBT, bool doConvCuts)
 Constructor.
 
 CouenneBranchingObject (const CouenneBranchingObject &src)
 Copy constructor.
 
void setSimulate (bool s)
 set simulate_ field below
 
expressionvariable ()
 return branching variable
 
void branchCore (OsiSolverInterface *, int, int, bool, double, t_chg_bounds *&)
 Perform branching step.
 
- Public Member Functions inherited from OsiTwoWayBranchingObject
 OsiTwoWayBranchingObject ()
 
 OsiTwoWayBranchingObject (OsiSolverInterface *solver, const OsiObject *originalObject, int way, double value)
 
 OsiTwoWayBranchingObject (const OsiTwoWayBranchingObject &)
 
OsiTwoWayBranchingObjectoperator= (const OsiTwoWayBranchingObject &rhs)
 
virtual ~OsiTwoWayBranchingObject ()
 
int firstBranch () const
 
int way () const
 
virtual double branch ()
 
- Public Member Functions inherited from OsiBranchingObject
 OsiBranchingObject ()
 
 OsiBranchingObject (OsiSolverInterface *solver, double value)
 
 OsiBranchingObject (const OsiBranchingObject &)
 
OsiBranchingObjectoperator= (const OsiBranchingObject &rhs)
 
virtual ~OsiBranchingObject ()
 
int numberBranches () const
 
int numberBranchesLeft () const
 
void incrementNumberBranchesLeft ()
 
void setNumberBranchesLeft (int)
 
void decrementNumberBranchesLeft ()
 
int branchIndex () const
 
void setBranchingIndex (int branchIndex)
 
double value () const
 
const OsiObjectoriginalObject () const
 
void setOriginalObject (const OsiObject *object)
 
virtual void checkIsCutoff (double)
 
int columnNumber () const
 
virtual void print (const OsiSolverInterface *=NULL) const
 

Additional Inherited Members

- Static Public Attributes inherited from Couenne::CouenneBranchingObject
static int nOrbBr
 
static int maxDepthOrbBranch
 
static int nSGcomputations
 
- Protected Attributes inherited from Couenne::CouenneBranchingObject
CouenneCutGeneratorcutGen_
 Pointer to CouenneCutGenerator (if any); if not NULL, allows to do extra cut generation during branching.
 
CouenneProblemproblem_
 Pointer to CouenneProblem (necessary to allow FBBT)
 
expressionvariable_
 The index of the variable this branching object refers to.
 
JnlstPtr jnlst_
 SmartPointer to the Journalist.
 
bool doFBBT_
 shall we do Feasibility based Bound Tightening (FBBT) at branching?
 
bool doConvCuts_
 shall we add convexification cuts at branching?
 
double downEstimate_
 down branch estimate (done at selectBranch with reduced costs)
 
double upEstimate_
 up branch estimate
 
bool simulate_
 are we currently in strong branching?
 
- Protected Attributes inherited from OsiTwoWayBranchingObject
int firstBranch_
 
- Protected Attributes inherited from OsiBranchingObject
double value_
 
const OsiObjectoriginalObject_
 
int numberBranches_
 
short branchIndex_
 

Detailed Description

"Spatial" branching object.

Branching can also be performed on continuous variables.

Definition at line 36 of file CouenneOrbitBranchingObj.hpp.

Constructor & Destructor Documentation

◆ CouenneOrbitBranchingObj() [1/2]

Couenne::CouenneOrbitBranchingObj::CouenneOrbitBranchingObj ( OsiSolverInterface * solver,
const OsiObject * originalObject,
JnlstPtr jnlst,
CouenneCutGenerator * c,
CouenneProblem * p,
expression * var,
int way,
CouNumber brpoint,
bool doFBBT,
bool doConvCuts )

Constructor.

◆ CouenneOrbitBranchingObj() [2/2]

Couenne::CouenneOrbitBranchingObj::CouenneOrbitBranchingObj ( const CouenneOrbitBranchingObj & src)
inline

Copy constructor.

Definition at line 53 of file CouenneOrbitBranchingObj.hpp.

Member Function Documentation

◆ clone()

virtual OsiBranchingObject * Couenne::CouenneOrbitBranchingObj::clone ( ) const
inlinevirtual

cloning method

Reimplemented from Couenne::CouenneBranchingObject.

Definition at line 58 of file CouenneOrbitBranchingObj.hpp.

◆ branch()

virtual double Couenne::CouenneOrbitBranchingObj::branch ( OsiSolverInterface * solver = NULL)
virtual

Execute the actions required to branch, as specified by the current state of the branching object, and advance the object's state.

Returns change in guessed objective on next branch

Reimplemented from Couenne::CouenneBranchingObject.

◆ boundBranch()

virtual bool Couenne::CouenneOrbitBranchingObj::boundBranch ( ) const
inlinevirtual

does this branching object only change variable bounds?

Reimplemented from Couenne::CouenneBranchingObject.

Definition at line 69 of file CouenneOrbitBranchingObj.hpp.

◆ setSimulate()

void Couenne::CouenneOrbitBranchingObj::setSimulate ( bool s)
inline

set simulate_ field below

Definition at line 73 of file CouenneOrbitBranchingObj.hpp.


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