#include <CbcBranchDynamic.hpp>
Inheritance diagram for CbcDynamicPseudoCostBranchingObject:
Public Member Functions | |
CbcDynamicPseudoCostBranchingObject () | |
Default constructor. | |
CbcDynamicPseudoCostBranchingObject (CbcModel *model, int variable, int way, double value, CbcSimpleIntegerDynamicPseudoCost *object) | |
Create a standard floor/ceiling branch object. | |
CbcDynamicPseudoCostBranchingObject (CbcModel *model, int variable, int way, double lowerValue, double upperValue) | |
Create a degenerate branch object. | |
CbcDynamicPseudoCostBranchingObject (const CbcDynamicPseudoCostBranchingObject &) | |
Copy constructor. | |
CbcDynamicPseudoCostBranchingObject & | operator= (const CbcDynamicPseudoCostBranchingObject &rhs) |
Assignment operator. | |
virtual CbcBranchingObject * | clone () const |
Clone. | |
virtual | ~CbcDynamicPseudoCostBranchingObject () |
Destructor. | |
virtual double | branch (bool normalBranch=false) |
Sets the bounds for the variable according to the current arm of the branch and advances the object state to the next arm. This version also changes guessed objective value. | |
virtual int | fillStrongInfo (CbcStrongInfo &info) |
Some branchingObjects may claim to be able to skip strong branching. | |
double | changeInGuessed () const |
Change in guessed. | |
void | setChangeInGuessed (double value) |
Set change in guessed. | |
CbcSimpleIntegerDynamicPseudoCost * | object () const |
Return object. | |
Protected Attributes | |
double | changeInGuessed_ |
Change in guessed objective value for next branch. | |
CbcSimpleIntegerDynamicPseudoCost * | object_ |
Pointer back to object. |
This object can specify a two-way branch on an integer variable. For each arm of the branch, the upper and lower bounds on the variable can be independently specified.
Variable_ holds the index of the integer variable in the integerVariable_ array of the model.
Definition at line 267 of file CbcBranchDynamic.hpp.
|
Default constructor.
|
|
Create a standard floor/ceiling branch object.
Specifies a simple two-way branch. Let |
|
Create a degenerate branch object. Specifies a `one-way branch'. Calling branch() for this object will always result in lowerValue <= x <= upperValue. Used to fix a variable when lowerValue = upperValue. |
|
Copy constructor.
|
|
Destructor.
|
|
Assignment operator.
|
|
Clone.
Reimplemented from CbcIntegerBranchingObject. |
|
Sets the bounds for the variable according to the current arm of the branch and advances the object state to the next arm. This version also changes guessed objective value.
Reimplemented from CbcIntegerBranchingObject. |
|
Some branchingObjects may claim to be able to skip strong branching. If so they have to fill in CbcStrongInfo. The object mention in incoming CbcStrongInfo must match. Returns nonzero if skip is wanted Reimplemented from CbcBranchingObject. |
|
Change in guessed.
Definition at line 319 of file CbcBranchDynamic.hpp. |
|
Set change in guessed.
Definition at line 322 of file CbcBranchDynamic.hpp. References changeInGuessed_. |
|
Return object.
Reimplemented from CbcBranchingObject. Definition at line 325 of file CbcBranchDynamic.hpp. |
|
Change in guessed objective value for next branch.
Definition at line 329 of file CbcBranchDynamic.hpp. Referenced by setChangeInGuessed(). |
|
Pointer back to object.
Definition at line 331 of file CbcBranchDynamic.hpp. |