#include <CbcBranchDynamic.hpp>
Inheritance diagram for CbcSimpleIntegerDynamicPseudoCost:
Public Member Functions | |
CbcSimpleIntegerDynamicPseudoCost () | |
CbcSimpleIntegerDynamicPseudoCost (CbcModel *model, int sequence, int iColumn, double breakEven=0.5) | |
CbcSimpleIntegerDynamicPseudoCost (CbcModel *model, int sequence, int iColumn, double downDynamicPseudoCost, double upDynamicPseudoCost) | |
CbcSimpleIntegerDynamicPseudoCost (const CbcSimpleIntegerDynamicPseudoCost &) | |
virtual CbcObject * | clone () const |
Clone. | |
CbcSimpleIntegerDynamicPseudoCost & | operator= (const CbcSimpleIntegerDynamicPseudoCost &rhs) |
~CbcSimpleIntegerDynamicPseudoCost () | |
virtual double | infeasibility (int &preferredWay) const |
Infeasibility - large is 0.5. | |
virtual CbcBranchingObject * | createBranch (int way) |
Creates a branching object. | |
virtual OsiSolverBranch * | solverBranch () const |
Create an OsiSolverBranch object. | |
double | downDynamicPseudoCost () const |
Down pseudo cost. | |
void | setDownDynamicPseudoCost (double value) |
Set down pseudo cost. | |
double | upDynamicPseudoCost () const |
Up pseudo cost. | |
void | setUpDynamicPseudoCost (double value) |
Set up pseudo cost. | |
double | upDownSeparator () const |
Up down separator. | |
void | setUpDownSeparator (double value) |
Set up down separator. | |
double | sumDownCost () const |
Down sum cost. | |
void | setSumDownCost (double value) |
Set down sum cost. | |
void | addToSumDownCost (double value) |
Add to down sum cost and set last and square. | |
double | sumUpCost () const |
Up sum cost. | |
void | setSumUpCost (double value) |
Set up sum cost. | |
void | addToSumUpCost (double value) |
Add to up sum cost and set last and square. | |
double | sumDownChange () const |
Down sum change. | |
void | setSumDownChange (double value) |
Set down sum change. | |
void | addToSumDownChange (double value) |
Add to down sum change. | |
double | sumUpChange () const |
Up sum change. | |
void | setSumUpChange (double value) |
Set up sum change. | |
void | addToSumUpChange (double value) |
Add to up sum change and set last and square. | |
double | sumDownDecrease () const |
Sum down decrease number infeasibilities from strong or actual. | |
void | setSumDownDecrease (double value) |
Set sum down decrease number infeasibilities from strong or actual. | |
void | addToSumDownDecrease (double value) |
Add to sum down decrease number infeasibilities from strong or actual. | |
double | sumUpDecrease () const |
Sum up decrease number infeasibilities from strong or actual. | |
void | setSumUpDecrease (double value) |
Set sum up decrease number infeasibilities from strong or actual. | |
void | addToSumUpDecrease (double value) |
Add to sum up decrease number infeasibilities from strong or actual. | |
int | numberTimesDown () const |
Down number times. | |
void | setNumberTimesDown (int value) |
Set down number times. | |
void | incrementNumberTimesDown () |
Increment down number times. | |
int | numberTimesUp () const |
Up number times. | |
void | setNumberTimesUp (int value) |
Set up number times. | |
void | incrementNumberTimesUp () |
Increment up number times. | |
int | numberTimesDownInfeasible () const |
Down number times infeasible. | |
void | setNumberTimesDownInfeasible (int value) |
Set down number times infeasible. | |
void | incrementNumberTimesDownInfeasible () |
Increment down number times infeasible. | |
int | numberTimesUpInfeasible () const |
Up number times infeasible. | |
void | setNumberTimesUpInfeasible (int value) |
Set up number times infeasible. | |
void | incrementNumberTimesUpInfeasible () |
Increment up number times infeasible. | |
int | numberBeforeTrust () const |
Number of times before trusted. | |
void | setNumberBeforeTrust (int value) |
Set number of times before trusted. | |
virtual double | upEstimate () const |
Return "up" estimate. | |
virtual double | downEstimate () const |
Return "down" estimate (default 1.0e-5). | |
int | method () const |
method - see below for details | |
void | setMethod (int value) |
Set method. | |
void | setDownInformation (double changeObjectiveDown, int changeInfeasibilityDown) |
Pass in information on a down branch. | |
void | setUpInformation (double changeObjectiveUp, int changeInfeasibilityUp) |
Pass in information on a up branch. | |
void | print (int type=0, double value=0.0) const |
Print - 0 -summary, 1 just before strong. | |
Protected Attributes | |
double | downDynamicPseudoCost_ |
data Down pseudo cost | |
double | upDynamicPseudoCost_ |
Up pseudo cost. | |
double | upDownSeparator_ |
Up/down separator If >0.0 then do first branch up if value-floor(value) >= this value. | |
double | sumDownCost_ |
Sum down cost from strong or actual. | |
double | sumUpCost_ |
Sum up cost from strong or actual. | |
double | sumDownChange_ |
Sum of all changes to x when going down. | |
double | sumUpChange_ |
Sum of all changes to x when going up. | |
double | sumDownCostSquared_ |
Sum down cost from strong or actual squared. | |
double | sumUpCostSquared_ |
Sum up cost from strong or actual squared. | |
double | sumDownDecrease_ |
Sum down decrease number infeasibilities from strong or actual. | |
double | sumUpDecrease_ |
Sum up decrease number infeasibilities from strong or actual. | |
double | lastDownCost_ |
Last down cost from strong (i.e. as computed by last strong). | |
double | lastUpCost_ |
Last up cost from strong (i.e. as computed by last strong). | |
int | lastDownDecrease_ |
Last down decrease number infeasibilities from strong (i.e. as computed by last strong). | |
int | lastUpDecrease_ |
Last up decrease number infeasibilities from strong (i.e. as computed by last strong). | |
int | numberTimesDown_ |
Number of times we have gone down. | |
int | numberTimesUp_ |
Number of times we have gone up. | |
int | numberTimesDownInfeasible_ |
Number of times we have been infeasible going down. | |
int | numberTimesUpInfeasible_ |
Number of times we have been infeasible going up. | |
int | numberBeforeTrust_ |
Number of branches before we trust. | |
int | method_ |
Method - ?? |
Based on work by Achterberg, Koch and Martin.
It is wild overkill but to keep design all twiddly things are in each. This could be used for fine tuning.
Definition at line 19 of file CbcBranchDynamic.hpp.
|
|
|
|
|
|
|
|
|
|
|
Clone.
Reimplemented from CbcSimpleInteger. |
|
|
|
Infeasibility - large is 0.5.
Reimplemented from CbcSimpleInteger. |
|
Creates a branching object.
Reimplemented from CbcSimpleInteger. |
|
Create an OsiSolverBranch object. This returns NULL if branch not represented by bound changes Reimplemented from CbcSimpleInteger. |
|
Down pseudo cost.
Definition at line 58 of file CbcBranchDynamic.hpp. |
|
Set down pseudo cost.
Definition at line 61 of file CbcBranchDynamic.hpp. References downDynamicPseudoCost_. |
|
Up pseudo cost.
Definition at line 65 of file CbcBranchDynamic.hpp. |
|
Set up pseudo cost.
Definition at line 68 of file CbcBranchDynamic.hpp. References upDynamicPseudoCost_. |
|
Up down separator.
Definition at line 72 of file CbcBranchDynamic.hpp. |
|
Set up down separator.
Definition at line 75 of file CbcBranchDynamic.hpp. References upDownSeparator_. |
|
Down sum cost.
Definition at line 79 of file CbcBranchDynamic.hpp. |
|
Set down sum cost.
Definition at line 82 of file CbcBranchDynamic.hpp. References sumDownCost_. |
|
Add to down sum cost and set last and square.
Definition at line 85 of file CbcBranchDynamic.hpp. References lastDownCost_, sumDownCost_, and sumDownCostSquared_. |
|
Up sum cost.
Definition at line 89 of file CbcBranchDynamic.hpp. |
|
Set up sum cost.
Definition at line 92 of file CbcBranchDynamic.hpp. References sumUpCost_. |
|
Add to up sum cost and set last and square.
Definition at line 95 of file CbcBranchDynamic.hpp. References lastUpCost_, sumUpCost_, and sumUpCostSquared_. |
|
Down sum change.
Definition at line 99 of file CbcBranchDynamic.hpp. |
|
Set down sum change.
Definition at line 102 of file CbcBranchDynamic.hpp. References sumDownChange_. |
|
Add to down sum change.
Definition at line 105 of file CbcBranchDynamic.hpp. References sumDownChange_. |
|
Up sum change.
Definition at line 109 of file CbcBranchDynamic.hpp. |
|
Set up sum change.
Definition at line 112 of file CbcBranchDynamic.hpp. References sumUpChange_. |
|
Add to up sum change and set last and square.
Definition at line 115 of file CbcBranchDynamic.hpp. References sumUpChange_. |
|
Sum down decrease number infeasibilities from strong or actual.
Definition at line 119 of file CbcBranchDynamic.hpp. |
|
Set sum down decrease number infeasibilities from strong or actual.
Definition at line 122 of file CbcBranchDynamic.hpp. References sumDownDecrease_. |
|
Add to sum down decrease number infeasibilities from strong or actual.
Definition at line 125 of file CbcBranchDynamic.hpp. References lastDownDecrease_, and sumDownDecrease_. |
|
Sum up decrease number infeasibilities from strong or actual.
Definition at line 129 of file CbcBranchDynamic.hpp. |
|
Set sum up decrease number infeasibilities from strong or actual.
Definition at line 132 of file CbcBranchDynamic.hpp. References sumUpDecrease_. |
|
Add to sum up decrease number infeasibilities from strong or actual.
Definition at line 135 of file CbcBranchDynamic.hpp. References lastUpDecrease_, and sumUpDecrease_. |
|
Down number times.
Definition at line 139 of file CbcBranchDynamic.hpp. |
|
Set down number times.
Definition at line 142 of file CbcBranchDynamic.hpp. References numberTimesDown_. |
|
Increment down number times.
Definition at line 145 of file CbcBranchDynamic.hpp. References numberTimesDown_. |
|
Up number times.
Definition at line 149 of file CbcBranchDynamic.hpp. |
|
Set up number times.
Definition at line 152 of file CbcBranchDynamic.hpp. References numberTimesUp_. |
|
Increment up number times.
Definition at line 155 of file CbcBranchDynamic.hpp. References numberTimesUp_. |
|
Down number times infeasible.
Definition at line 159 of file CbcBranchDynamic.hpp. |
|
Set down number times infeasible.
Definition at line 162 of file CbcBranchDynamic.hpp. References numberTimesDownInfeasible_. |
|
Increment down number times infeasible.
Definition at line 165 of file CbcBranchDynamic.hpp. References numberTimesDownInfeasible_. |
|
Up number times infeasible.
Definition at line 169 of file CbcBranchDynamic.hpp. |
|
Set up number times infeasible.
Definition at line 172 of file CbcBranchDynamic.hpp. References numberTimesUpInfeasible_. |
|
Increment up number times infeasible.
Definition at line 175 of file CbcBranchDynamic.hpp. References numberTimesUpInfeasible_. |
|
Number of times before trusted.
Definition at line 179 of file CbcBranchDynamic.hpp. |
|
Set number of times before trusted.
Definition at line 182 of file CbcBranchDynamic.hpp. References numberBeforeTrust_. |
|
Return "up" estimate.
Reimplemented from CbcObject. |
|
Return "down" estimate (default 1.0e-5).
Reimplemented from CbcObject. |
|
method - see below for details
Definition at line 191 of file CbcBranchDynamic.hpp. |
|
Set method.
Definition at line 194 of file CbcBranchDynamic.hpp. References method_. |
|
Pass in information on a down branch.
|
|
Pass in information on a up branch.
|
|
Print - 0 -summary, 1 just before strong.
|
|
data Down pseudo cost
Definition at line 208 of file CbcBranchDynamic.hpp. Referenced by setDownDynamicPseudoCost(). |
|
Up pseudo cost.
Definition at line 210 of file CbcBranchDynamic.hpp. Referenced by setUpDynamicPseudoCost(). |
|
Up/down separator If >0.0 then do first branch up if value-floor(value) >= this value.
Definition at line 215 of file CbcBranchDynamic.hpp. Referenced by setUpDownSeparator(). |
|
Sum down cost from strong or actual.
Definition at line 217 of file CbcBranchDynamic.hpp. Referenced by addToSumDownCost(), and setSumDownCost(). |
|
Sum up cost from strong or actual.
Definition at line 219 of file CbcBranchDynamic.hpp. Referenced by addToSumUpCost(), and setSumUpCost(). |
|
Sum of all changes to x when going down.
Definition at line 221 of file CbcBranchDynamic.hpp. Referenced by addToSumDownChange(), and setSumDownChange(). |
|
Sum of all changes to x when going up.
Definition at line 223 of file CbcBranchDynamic.hpp. Referenced by addToSumUpChange(), and setSumUpChange(). |
|
Sum down cost from strong or actual squared.
Definition at line 225 of file CbcBranchDynamic.hpp. Referenced by addToSumDownCost(). |
|
Sum up cost from strong or actual squared.
Definition at line 227 of file CbcBranchDynamic.hpp. Referenced by addToSumUpCost(). |
|
Sum down decrease number infeasibilities from strong or actual.
Definition at line 229 of file CbcBranchDynamic.hpp. Referenced by addToSumDownDecrease(), and setSumDownDecrease(). |
|
Sum up decrease number infeasibilities from strong or actual.
Definition at line 231 of file CbcBranchDynamic.hpp. Referenced by addToSumUpDecrease(), and setSumUpDecrease(). |
|
Last down cost from strong (i.e. as computed by last strong).
Definition at line 233 of file CbcBranchDynamic.hpp. Referenced by addToSumDownCost(). |
|
Last up cost from strong (i.e. as computed by last strong).
Definition at line 235 of file CbcBranchDynamic.hpp. Referenced by addToSumUpCost(). |
|
Last down decrease number infeasibilities from strong (i.e. as computed by last strong).
Definition at line 237 of file CbcBranchDynamic.hpp. Referenced by addToSumDownDecrease(). |
|
Last up decrease number infeasibilities from strong (i.e. as computed by last strong).
Definition at line 239 of file CbcBranchDynamic.hpp. Referenced by addToSumUpDecrease(). |
|
Number of times we have gone down.
Definition at line 241 of file CbcBranchDynamic.hpp. Referenced by incrementNumberTimesDown(), and setNumberTimesDown(). |
|
Number of times we have gone up.
Definition at line 243 of file CbcBranchDynamic.hpp. Referenced by incrementNumberTimesUp(), and setNumberTimesUp(). |
|
Number of times we have been infeasible going down.
Definition at line 245 of file CbcBranchDynamic.hpp. Referenced by incrementNumberTimesDownInfeasible(), and setNumberTimesDownInfeasible(). |
|
Number of times we have been infeasible going up.
Definition at line 247 of file CbcBranchDynamic.hpp. Referenced by incrementNumberTimesUpInfeasible(), and setNumberTimesUpInfeasible(). |
|
Number of branches before we trust.
Definition at line 249 of file CbcBranchDynamic.hpp. Referenced by setNumberBeforeTrust(). |
|
Method - ??
Definition at line 253 of file CbcBranchDynamic.hpp. Referenced by setMethod(). |