12 #ifndef COUENNEBRANCHINGOBJECT_HPP
13 #define COUENNEBRANCHINGOBJECT_HPP
22 class CouenneCutGenerator;
25 #define COUENNE_CROP 1
26 #define COUENNE_LCROP (1e2*COUENNE_CROP)
28 #define COUENNE_LARGE_INTERVAL 1e4
29 #define COUENNE_NEAR_BOUND 1e-2
"Spatial" branching object.
static int maxDepthOrbBranch
bool simulate_
are we currently in strong branching?
JnlstPtr jnlst_
SmartPointer to the Journalist.
bool doConvCuts_
shall we add convexification cuts at branching?
expression * variable_
The index of the variable this branching object refers to.
virtual OsiBranchingObject * clone() const
cloning method
double downEstimate_
down branch estimate (done at selectBranch with reduced costs)
bool doFBBT_
shall we do Feasibility based Bound Tightening (FBBT) at branching?
CouenneBranchingObject(const CouenneBranchingObject &src)
Copy constructor.
CouenneProblem * problem_
Pointer to CouenneProblem (necessary to allow FBBT)
CouenneCutGenerator * cutGen_
Pointer to CouenneCutGenerator (if any); if not NULL, allows to do extra cut generation during branch...
void branchCore(OsiSolverInterface *, int, int, bool, double, t_chg_bounds *&)
Perform branching step.
double upEstimate_
up branch estimate
virtual bool boundBranch() const
does this branching object only change variable bounds?
CouenneBranchingObject(OsiSolverInterface *solver, const OsiObject *originalObject, JnlstPtr jnlst, CouenneCutGenerator *c, CouenneProblem *p, expression *var, int way, CouNumber brpoint, bool doFBBT, bool doConvCuts)
Constructor.
void setSimulate(bool s)
set simulate_ field below
virtual double branch(OsiSolverInterface *solver=NULL)
Execute the actions required to branch, as specified by the current state of the branching object,...
expression * variable()
return branching variable
static int nSGcomputations
Cut Generator for linear convexifications.
Class for MINLP problems with symbolic information.
status of lower/upper bound of a variable, to be checked/modified in bound tightening
const OsiObject * originalObject() const
general include file for different compilers
double CouNumber
main number type in Couenne