Couenne
0.2
|
Spatial, three-way branching object. More...
#include <CouenneThreeWayBranchObj.hpp>
Public Member Functions | |
CouenneThreeWayBranchObj (JnlstPtr jnlst, expression *, CouNumber, CouNumber, int=THREE_CENTER) | |
Constructor. More... | |
CouenneThreeWayBranchObj (const CouenneThreeWayBranchObj &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... | |
Protected Attributes | |
expression * | brVar_ |
The variable this branching object refers to. More... | |
CouNumber | lcrop_ |
left divider More... | |
CouNumber | rcrop_ |
right divider More... | |
int | firstBranch_ |
First branch to be performed: 0 is left, 1 is central, 2 is right. More... | |
JnlstPtr | jnlst_ |
True if the associated variable is integer. More... | |
Spatial, three-way branching object.
Branching is performed on continuous variables but a better convexification is sought around the current point by dividing the interval in three parts
Definition at line 28 of file CouenneThreeWayBranchObj.hpp.
Couenne::CouenneThreeWayBranchObj::CouenneThreeWayBranchObj | ( | JnlstPtr | jnlst, |
expression * | , | ||
CouNumber | , | ||
CouNumber | , | ||
int | = THREE_CENTER |
||
) |
Constructor.
Referenced by clone().
|
inline |
Copy constructor.
Definition at line 42 of file CouenneThreeWayBranchObj.hpp.
|
inlinevirtual |
Cloning method.
Definition at line 51 of file CouenneThreeWayBranchObj.hpp.
References CouenneThreeWayBranchObj().
|
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 (what does "next" mean here?) branch
|
protected |
The variable this branching object refers to.
If the corresponding CouenneObject was created on w=f(x,y), it is either x or y.
Definition at line 67 of file CouenneThreeWayBranchObj.hpp.
|
protected |
left divider
Definition at line 69 of file CouenneThreeWayBranchObj.hpp.
|
protected |
right divider
Definition at line 70 of file CouenneThreeWayBranchObj.hpp.
|
protected |
First branch to be performed: 0 is left, 1 is central, 2 is right.
Definition at line 73 of file CouenneThreeWayBranchObj.hpp.
|
protected |
True if the associated variable is integer.
SmartPointer to the Journalist
Definition at line 79 of file CouenneThreeWayBranchObj.hpp.