Couenne  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Couenne::CouenneOrbitBranchingObj Class Reference

"Spatial" branching object. More...

#include <CouenneOrbitBranchingObj.hpp>

Inheritance diagram for Couenne::CouenneOrbitBranchingObj:
Couenne::CouenneBranchingObject

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. More...
 
 CouenneOrbitBranchingObj (const CouenneOrbitBranchingObj &src)
 Copy constructor. More...
 
virtual OsiBranchingObject * clone () const
 cloning method More...
 
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. More...
 
virtual bool boundBranch () const
 does this branching object only change variable bounds? More...
 
void setSimulate (bool s)
 set simulate_ field below More...
 
- 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. More...
 
 CouenneBranchingObject (const CouenneBranchingObject &src)
 Copy constructor. More...
 
void setSimulate (bool s)
 set simulate_ field below More...
 
expressionvariable ()
 return branching variable More...
 
void branchCore (OsiSolverInterface *, int, int, bool, double, t_chg_bounds *&)
 Perform branching step. More...
 

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. More...
 
CouenneProblemproblem_
 Pointer to CouenneProblem (necessary to allow FBBT) More...
 
expressionvariable_
 The index of the variable this branching object refers to. More...
 
JnlstPtr jnlst_
 SmartPointer to the Journalist. More...
 
bool doFBBT_
 shall we do Feasibility based Bound Tightening (FBBT) at branching? More...
 
bool doConvCuts_
 shall we add convexification cuts at branching? More...
 
double downEstimate_
 down branch estimate (done at selectBranch with reduced costs) More...
 
double upEstimate_
 up branch estimate More...
 
bool simulate_
 are we currently in strong branching? More...
 

Detailed Description

"Spatial" branching object.

Branching can also be performed on continuous variables.

Definition at line 36 of file CouenneOrbitBranchingObj.hpp.

Constructor & Destructor Documentation

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.

Referenced by clone().

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

Copy constructor.

Definition at line 53 of file CouenneOrbitBranchingObj.hpp.

Member Function Documentation

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

cloning method

Reimplemented from Couenne::CouenneBranchingObject.

Definition at line 58 of file CouenneOrbitBranchingObj.hpp.

References CouenneOrbitBranchingObj().

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.

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.

References Couenne::CouenneBranchingObject::doConvCuts_.

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

set simulate_ field below

Definition at line 73 of file CouenneOrbitBranchingObj.hpp.

References Couenne::CouenneBranchingObject::simulate_.


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