Cbc  2.10.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
CbcSimpleIntegerDynamicPseudoCost Class Reference

Define a single integer class but with dynamic pseudo costs. More...

#include <CbcSimpleIntegerDynamicPseudoCost.hpp>

+ Inheritance diagram for CbcSimpleIntegerDynamicPseudoCost:
+ Collaboration diagram for CbcSimpleIntegerDynamicPseudoCost:

Public Member Functions

 CbcSimpleIntegerDynamicPseudoCost ()
 
 CbcSimpleIntegerDynamicPseudoCost (CbcModel *model, int iColumn, double breakEven=0.5)
 
 CbcSimpleIntegerDynamicPseudoCost (CbcModel *model, int iColumn, double downDynamicPseudoCost, double upDynamicPseudoCost)
 
 CbcSimpleIntegerDynamicPseudoCost (CbcModel *model, int dummy, int iColumn, double downDynamicPseudoCost, double upDynamicPseudoCost)
 
 CbcSimpleIntegerDynamicPseudoCost (const CbcSimpleIntegerDynamicPseudoCost &)
 
virtual CbcObjectclone () const
 Clone. More...
 
CbcSimpleIntegerDynamicPseudoCostoperator= (const CbcSimpleIntegerDynamicPseudoCost &rhs)
 
virtual ~CbcSimpleIntegerDynamicPseudoCost ()
 
virtual double infeasibility (const OsiBranchingInformation *info, int &preferredWay) const
 Infeasibility - large is 0.5. More...
 
virtual CbcBranchingObjectcreateCbcBranch (OsiSolverInterface *solver, const OsiBranchingInformation *info, int way)
 Creates a branching object. More...
 
virtual CbcObjectUpdateData createUpdateInformation (const OsiSolverInterface *solver, const CbcNode *node, const CbcBranchingObject *branchingObject)
 Fills in a created branching object. More...
 
virtual void updateInformation (const CbcObjectUpdateData &data)
 Update object by CbcObjectUpdateData. More...
 
void copySome (const CbcSimpleIntegerDynamicPseudoCost *otherObject)
 Copy some information i.e. just variable stuff. More...
 
virtual void updateBefore (const OsiObject *rhs)
 Updates stuff like pseudocosts before threads. More...
 
virtual void updateAfter (const OsiObject *rhs, const OsiObject *baseObject)
 Updates stuff like pseudocosts after threads finished. More...
 
void updateAfterMini (int numberDown, int numberDownInfeasible, double sumDown, int numberUp, int numberUpInfeasible, double sumUp)
 Updates stuff like pseudocosts after mini branch and bound. More...
 
virtual OsiSolverBranchsolverBranch () const
 Create an OsiSolverBranch object. More...
 
double downDynamicPseudoCost () const
 Down pseudo cost. More...
 
void setDownDynamicPseudoCost (double value)
 Set down pseudo cost. More...
 
void updateDownDynamicPseudoCost (double value)
 Modify down pseudo cost in a slightly different way. More...
 
double upDynamicPseudoCost () const
 Up pseudo cost. More...
 
void setUpDynamicPseudoCost (double value)
 Set up pseudo cost. More...
 
void updateUpDynamicPseudoCost (double value)
 Modify up pseudo cost in a slightly different way. More...
 
double downShadowPrice () const
 Down pseudo shadow price cost. More...
 
void setDownShadowPrice (double value)
 Set down pseudo shadow price cost. More...
 
double upShadowPrice () const
 Up pseudo shadow price cost. More...
 
void setUpShadowPrice (double value)
 Set up pseudo shadow price cost. More...
 
double upDownSeparator () const
 Up down separator. More...
 
void setUpDownSeparator (double value)
 Set up down separator. More...
 
double sumDownCost () const
 Down sum cost. More...
 
void setSumDownCost (double value)
 Set down sum cost. More...
 
void addToSumDownCost (double value)
 Add to down sum cost and set last and square. More...
 
double sumUpCost () const
 Up sum cost. More...
 
void setSumUpCost (double value)
 Set up sum cost. More...
 
void addToSumUpCost (double value)
 Add to up sum cost and set last and square. More...
 
double sumDownChange () const
 Down sum change. More...
 
void setSumDownChange (double value)
 Set down sum change. More...
 
void addToSumDownChange (double value)
 Add to down sum change. More...
 
double sumUpChange () const
 Up sum change. More...
 
void setSumUpChange (double value)
 Set up sum change. More...
 
void addToSumUpChange (double value)
 Add to up sum change and set last and square. More...
 
double sumDownDecrease () const
 Sum down decrease number infeasibilities from strong or actual. More...
 
void setSumDownDecrease (double value)
 Set sum down decrease number infeasibilities from strong or actual. More...
 
void addToSumDownDecrease (double value)
 Add to sum down decrease number infeasibilities from strong or actual. More...
 
double sumUpDecrease () const
 Sum up decrease number infeasibilities from strong or actual. More...
 
void setSumUpDecrease (double value)
 Set sum up decrease number infeasibilities from strong or actual. More...
 
void addToSumUpDecrease (double value)
 Add to sum up decrease number infeasibilities from strong or actual. More...
 
int numberTimesDown () const
 Down number times. More...
 
void setNumberTimesDown (int value)
 Set down number times. More...
 
void incrementNumberTimesDown ()
 Increment down number times. More...
 
int numberTimesUp () const
 Up number times. More...
 
void setNumberTimesUp (int value)
 Set up number times. More...
 
void incrementNumberTimesUp ()
 Increment up number times. More...
 
int numberTimesBranched () const
 Number times branched. More...
 
int numberTimesDownInfeasible () const
 Down number times infeasible. More...
 
void setNumberTimesDownInfeasible (int value)
 Set down number times infeasible. More...
 
void incrementNumberTimesDownInfeasible ()
 Increment down number times infeasible. More...
 
int numberTimesUpInfeasible () const
 Up number times infeasible. More...
 
void setNumberTimesUpInfeasible (int value)
 Set up number times infeasible. More...
 
void incrementNumberTimesUpInfeasible ()
 Increment up number times infeasible. More...
 
int numberBeforeTrust () const
 Number of times before trusted. More...
 
void setNumberBeforeTrust (int value)
 Set number of times before trusted. More...
 
void incrementNumberBeforeTrust ()
 Increment number of times before trusted. More...
 
virtual double upEstimate () const
 Return "up" estimate. More...
 
virtual double downEstimate () const
 Return "down" estimate (default 1.0e-5) More...
 
int method () const
 method - see below for details More...
 
void setMethod (int value)
 Set method. More...
 
void setDownInformation (double changeObjectiveDown, int changeInfeasibilityDown)
 Pass in information on a down branch. More...
 
void setUpInformation (double changeObjectiveUp, int changeInfeasibilityUp)
 Pass in information on a up branch. More...
 
void setProbingInformation (int fixedDown, int fixedUp)
 Pass in probing information. More...
 
void print (int type=0, double value=0.0) const
 Print - 0 -summary, 1 just before strong. More...
 
bool same (const CbcSimpleIntegerDynamicPseudoCost *obj) const
 Same - returns true if contents match(ish) More...
 
- Public Member Functions inherited from CbcSimpleInteger
 CbcSimpleInteger ()
 
 CbcSimpleInteger (CbcModel *model, int iColumn, double breakEven=0.5)
 
 CbcSimpleInteger (CbcModel *model, const OsiSimpleInteger *object)
 
 CbcSimpleInteger (const CbcSimpleInteger &)
 
CbcSimpleIntegeroperator= (const CbcSimpleInteger &rhs)
 
virtual ~CbcSimpleInteger ()
 
OsiSimpleIntegerosiObject () const
 Construct an OsiSimpleInteger object. More...
 
virtual double feasibleRegion (OsiSolverInterface *solver, const OsiBranchingInformation *info) const
 Set bounds to fix the variable at the current (integer) value. More...
 
void fillCreateBranch (CbcIntegerBranchingObject *branching, const OsiBranchingInformation *info, int way)
 Fills in a created branching object. More...
 
virtual OsiSolverBranchsolverBranch (OsiSolverInterface *solver, const OsiBranchingInformation *info) const
 Create an OsiSolverBranch object. More...
 
virtual void feasibleRegion ()
 Set bounds to fix the variable at the current (integer) value. More...
 
virtual int columnNumber () const
 Column number if single column object -1 otherwise, so returns >= 0 Used by heuristics. More...
 
void setColumnNumber (int value)
 Set column number. More...
 
virtual void resetBounds (const OsiSolverInterface *solver)
 Reset variable bounds to their original values. More...
 
virtual void resetSequenceEtc (int numberColumns, const int *originalColumns)
 Change column numbers after preprocessing. More...
 
double originalLowerBound () const
 Original bounds. More...
 
void setOriginalLowerBound (double value)
 
double originalUpperBound () const
 
void setOriginalUpperBound (double value)
 
double breakEven () const
 Breakeven e.g 0.7 -> >= 0.7 go up first. More...
 
void setBreakEven (double value)
 Set breakeven e.g 0.7 -> >= 0.7 go up first. More...
 
- Public Member Functions inherited from CbcObject
 CbcObject ()
 
 CbcObject (CbcModel *model)
 
 CbcObject (const CbcObject &)
 
CbcObjectoperator= (const CbcObject &rhs)
 
virtual ~CbcObject ()
 Destructor. More...
 
virtual double infeasibility (int &) const
 
virtual double feasibleRegion (OsiSolverInterface *solver) const
 For the variable(s) referenced by the object, look at the current solution and set bounds to match the solution. More...
 
virtual OsiBranchingObjectcreateBranch (OsiSolverInterface *, const OsiBranchingInformation *, int) const
 Create a branching object and indicate which way to branch first. More...
 
virtual OsiBranchingObjectcreateOsiBranch (OsiSolverInterface *solver, const OsiBranchingInformation *info, int way) const
 Create an Osibranching object and indicate which way to branch first. More...
 
virtual CbcBranchingObjectpreferredNewFeasible () const
 Given a valid solution (with reduced costs, etc.), return a branching object which would give a new feasible point in a good direction. More...
 
virtual CbcBranchingObjectnotPreferredNewFeasible () const
 Given a valid solution (with reduced costs, etc.), return a branching object which would give a new feasible point in a bad direction. More...
 
virtual void floorCeiling (double &floorValue, double &ceilingValue, double value, double tolerance) const
 Returns floor and ceiling i.e. More...
 
int id () const
 Identifier (normally column number in matrix) More...
 
void setId (int value)
 Set identifier (normally column number in matrix) but 1000000000 to 1100000000 means optional branching object i.e. More...
 
bool optionalObject () const
 Return true if optional branching object i.e. More...
 
int position () const
 Get position in object_ list. More...
 
void setPosition (int position)
 Set position in object_ list. More...
 
void setModel (CbcModel *model)
 update model More...
 
CbcModelmodel () const
 Return model. More...
 
int preferredWay () const
 If -1 down always chosen first, +1 up always, 0 normal. More...
 
void setPreferredWay (int value)
 Set -1 down always chosen first, +1 up always, 0 normal. More...
 
virtual void redoSequenceEtc (CbcModel *, int, const int *)
 Redoes data when sequence numbers change. More...
 
virtual void initializeForBranching (CbcModel *)
 Initialize for branching. More...
 
- Public Member Functions inherited from OsiObject
 OsiObject ()
 Default Constructor. More...
 
 OsiObject (const OsiObject &)
 Copy constructor. More...
 
OsiObjectoperator= (const OsiObject &rhs)
 Assignment operator. More...
 
virtual ~OsiObject ()
 Destructor. More...
 
double infeasibility (const OsiSolverInterface *solver, int &whichWay) const
 Infeasibility of the object. More...
 
virtual double checkInfeasibility (const OsiBranchingInformation *info) const
 
virtual bool canDoHeuristics () const
 Return true if object can take part in normal heuristics. More...
 
virtual bool canMoveToNearest () const
 Return true if object can take part in move to nearest heuristic. More...
 
int priority () const
 Return Priority - note 1 is highest priority. More...
 
void setPriority (int priority)
 Set priority. More...
 
virtual bool boundBranch () const
 Return true if branch should only bound variables. More...
 
virtual bool canHandleShadowPrices () const
 Return true if knows how to deal with Pseudo Shadow Prices. More...
 
int numberWays () const
 Return maximum number of ways branch may have. More...
 
void setNumberWays (int numberWays)
 Set maximum number of ways branch may have. More...
 
void setWhichWay (int way)
 Return preferred way to branch. More...
 
int whichWay () const
 Return current preferred way to branch. More...
 
double infeasibility () const
 Return infeasibility. More...
 

Protected Attributes

double downDynamicPseudoCost_
 data More...
 
double upDynamicPseudoCost_
 Up pseudo cost. More...
 
double upDownSeparator_
 Up/down separator If >0.0 then do first branch up if value-floor(value) >= this value. More...
 
double sumDownCost_
 Sum down cost from strong or actual. More...
 
double sumUpCost_
 Sum up cost from strong or actual. More...
 
double sumDownChange_
 Sum of all changes to x when going down. More...
 
double sumUpChange_
 Sum of all changes to x when going up. More...
 
double downShadowPrice_
 Current pseudo-shadow price estimate down. More...
 
double upShadowPrice_
 Current pseudo-shadow price estimate up. More...
 
double sumDownDecrease_
 Sum down decrease number infeasibilities from strong or actual. More...
 
double sumUpDecrease_
 Sum up decrease number infeasibilities from strong or actual. More...
 
double lastDownCost_
 Last down cost from strong (i.e. as computed by last strong) More...
 
double lastUpCost_
 Last up cost from strong (i.e. as computed by last strong) More...
 
int lastDownDecrease_
 Last down decrease number infeasibilities from strong (i.e. as computed by last strong) More...
 
int lastUpDecrease_
 Last up decrease number infeasibilities from strong (i.e. as computed by last strong) More...
 
int numberTimesDown_
 Number of times we have gone down. More...
 
int numberTimesUp_
 Number of times we have gone up. More...
 
int numberTimesDownInfeasible_
 Number of times we have been infeasible going down. More...
 
int numberTimesUpInfeasible_
 Number of times we have been infeasible going up. More...
 
int numberBeforeTrust_
 Number of branches before we trust. More...
 
int numberTimesDownLocalFixed_
 Number of local probing fixings going down. More...
 
int numberTimesUpLocalFixed_
 Number of local probing fixings going up. More...
 
double numberTimesDownTotalFixed_
 Number of total probing fixings going down. More...
 
double numberTimesUpTotalFixed_
 Number of total probing fixings going up. More...
 
int numberTimesProbingTotal_
 Number of times probing done. More...
 
int method_
 Number of times infeasible when tested. More...
 
- Protected Attributes inherited from CbcSimpleInteger
double originalLower_
 data More...
 
double originalUpper_
 Original upper bound. More...
 
double breakEven_
 Breakeven i.e. >= this preferred is up. More...
 
int columnNumber_
 Column number in model. More...
 
int preferredWay_
 If -1 down always chosen first, +1 up always, 0 normal. More...
 
- Protected Attributes inherited from CbcObject
CbcModelmodel_
 data More...
 
int id_
 Identifier (normally column number in matrix) More...
 
int position_
 Position in object list. More...
 
int preferredWay_
 If -1 down always chosen first, +1 up always, 0 normal. More...
 
- Protected Attributes inherited from OsiObject
double infeasibility_
 data More...
 
short whichWay_
 Computed preferred way to branch. More...
 
short numberWays_
 Maximum number of ways on branch. More...
 
int priority_
 Priority. More...
 

Detailed Description

Define a single integer class but with dynamic pseudo costs.

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 33 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

Constructor & Destructor Documentation

CbcSimpleIntegerDynamicPseudoCost::CbcSimpleIntegerDynamicPseudoCost ( )
CbcSimpleIntegerDynamicPseudoCost::CbcSimpleIntegerDynamicPseudoCost ( CbcModel model,
int  iColumn,
double  breakEven = 0.5 
)
CbcSimpleIntegerDynamicPseudoCost::CbcSimpleIntegerDynamicPseudoCost ( CbcModel model,
int  iColumn,
double  downDynamicPseudoCost,
double  upDynamicPseudoCost 
)
CbcSimpleIntegerDynamicPseudoCost::CbcSimpleIntegerDynamicPseudoCost ( CbcModel model,
int  dummy,
int  iColumn,
double  downDynamicPseudoCost,
double  upDynamicPseudoCost 
)
CbcSimpleIntegerDynamicPseudoCost::CbcSimpleIntegerDynamicPseudoCost ( const CbcSimpleIntegerDynamicPseudoCost )
virtual CbcSimpleIntegerDynamicPseudoCost::~CbcSimpleIntegerDynamicPseudoCost ( )
virtual

Member Function Documentation

virtual CbcObject* CbcSimpleIntegerDynamicPseudoCost::clone ( ) const
virtual

Clone.

Reimplemented from CbcSimpleInteger.

CbcSimpleIntegerDynamicPseudoCost& CbcSimpleIntegerDynamicPseudoCost::operator= ( const CbcSimpleIntegerDynamicPseudoCost rhs)
virtual double CbcSimpleIntegerDynamicPseudoCost::infeasibility ( const OsiBranchingInformation info,
int &  preferredWay 
) const
virtual

Infeasibility - large is 0.5.

Reimplemented from CbcSimpleInteger.

virtual CbcBranchingObject* CbcSimpleIntegerDynamicPseudoCost::createCbcBranch ( OsiSolverInterface solver,
const OsiBranchingInformation info,
int  way 
)
virtual

Creates a branching object.

Reimplemented from CbcSimpleInteger.

virtual CbcObjectUpdateData CbcSimpleIntegerDynamicPseudoCost::createUpdateInformation ( const OsiSolverInterface solver,
const CbcNode node,
const CbcBranchingObject branchingObject 
)
virtual

Fills in a created branching object.

Pass in information on branch just done and create CbcObjectUpdateData instance. If object does not need data then backward pointer will be NULL. Assumes can get information from solver

Reimplemented from CbcObject.

virtual void CbcSimpleIntegerDynamicPseudoCost::updateInformation ( const CbcObjectUpdateData data)
virtual

Update object by CbcObjectUpdateData.

Reimplemented from CbcObject.

void CbcSimpleIntegerDynamicPseudoCost::copySome ( const CbcSimpleIntegerDynamicPseudoCost otherObject)

Copy some information i.e. just variable stuff.

virtual void CbcSimpleIntegerDynamicPseudoCost::updateBefore ( const OsiObject rhs)
virtual

Updates stuff like pseudocosts before threads.

Reimplemented from OsiObject.

virtual void CbcSimpleIntegerDynamicPseudoCost::updateAfter ( const OsiObject rhs,
const OsiObject baseObject 
)
virtual

Updates stuff like pseudocosts after threads finished.

Reimplemented from OsiObject.

void CbcSimpleIntegerDynamicPseudoCost::updateAfterMini ( int  numberDown,
int  numberDownInfeasible,
double  sumDown,
int  numberUp,
int  numberUpInfeasible,
double  sumUp 
)

Updates stuff like pseudocosts after mini branch and bound.

virtual OsiSolverBranch* CbcSimpleIntegerDynamicPseudoCost::solverBranch ( ) const
virtual

Create an OsiSolverBranch object.

This returns NULL if branch not represented by bound changes

Reimplemented from CbcObject.

double CbcSimpleIntegerDynamicPseudoCost::downDynamicPseudoCost ( ) const
inline

Down pseudo cost.

Definition at line 98 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setDownDynamicPseudoCost ( double  value)

Set down pseudo cost.

void CbcSimpleIntegerDynamicPseudoCost::updateDownDynamicPseudoCost ( double  value)

Modify down pseudo cost in a slightly different way.

double CbcSimpleIntegerDynamicPseudoCost::upDynamicPseudoCost ( ) const
inline

Up pseudo cost.

Definition at line 108 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setUpDynamicPseudoCost ( double  value)

Set up pseudo cost.

void CbcSimpleIntegerDynamicPseudoCost::updateUpDynamicPseudoCost ( double  value)

Modify up pseudo cost in a slightly different way.

double CbcSimpleIntegerDynamicPseudoCost::downShadowPrice ( ) const
inline

Down pseudo shadow price cost.

Definition at line 118 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setDownShadowPrice ( double  value)
inline

Set down pseudo shadow price cost.

Definition at line 123 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::upShadowPrice ( ) const
inline

Up pseudo shadow price cost.

Definition at line 128 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setUpShadowPrice ( double  value)
inline

Set up pseudo shadow price cost.

Definition at line 133 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::upDownSeparator ( ) const
inline

Up down separator.

Definition at line 139 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setUpDownSeparator ( double  value)
inline

Set up down separator.

Definition at line 144 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::sumDownCost ( ) const
inline

Down sum cost.

Definition at line 150 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setSumDownCost ( double  value)
inline

Set down sum cost.

Definition at line 155 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::addToSumDownCost ( double  value)
inline

Add to down sum cost and set last and square.

Definition at line 160 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::sumUpCost ( ) const
inline

Up sum cost.

Definition at line 167 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setSumUpCost ( double  value)
inline

Set up sum cost.

Definition at line 172 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::addToSumUpCost ( double  value)
inline

Add to up sum cost and set last and square.

Definition at line 177 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::sumDownChange ( ) const
inline

Down sum change.

Definition at line 184 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setSumDownChange ( double  value)
inline

Set down sum change.

Definition at line 189 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::addToSumDownChange ( double  value)
inline

Add to down sum change.

Definition at line 194 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::sumUpChange ( ) const
inline

Up sum change.

Definition at line 200 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setSumUpChange ( double  value)
inline

Set up sum change.

Definition at line 205 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::addToSumUpChange ( double  value)
inline

Add to up sum change and set last and square.

Definition at line 210 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::sumDownDecrease ( ) const
inline

Sum down decrease number infeasibilities from strong or actual.

Definition at line 216 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setSumDownDecrease ( double  value)
inline

Set sum down decrease number infeasibilities from strong or actual.

Definition at line 221 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::addToSumDownDecrease ( double  value)
inline

Add to sum down decrease number infeasibilities from strong or actual.

Definition at line 226 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::sumUpDecrease ( ) const
inline

Sum up decrease number infeasibilities from strong or actual.

Definition at line 232 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setSumUpDecrease ( double  value)
inline

Set sum up decrease number infeasibilities from strong or actual.

Definition at line 237 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::addToSumUpDecrease ( double  value)
inline

Add to sum up decrease number infeasibilities from strong or actual.

Definition at line 242 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberTimesDown ( ) const
inline

Down number times.

Definition at line 248 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setNumberTimesDown ( int  value)
inline

Set down number times.

Definition at line 253 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::incrementNumberTimesDown ( )
inline

Increment down number times.

Definition at line 258 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberTimesUp ( ) const
inline

Up number times.

Definition at line 264 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setNumberTimesUp ( int  value)
inline

Set up number times.

Definition at line 269 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::incrementNumberTimesUp ( )
inline

Increment up number times.

Definition at line 274 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberTimesBranched ( ) const
inline

Number times branched.

Definition at line 280 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberTimesDownInfeasible ( ) const
inline

Down number times infeasible.

Definition at line 285 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setNumberTimesDownInfeasible ( int  value)
inline

Set down number times infeasible.

Definition at line 290 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::incrementNumberTimesDownInfeasible ( )
inline

Increment down number times infeasible.

Definition at line 295 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberTimesUpInfeasible ( ) const
inline

Up number times infeasible.

Definition at line 301 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setNumberTimesUpInfeasible ( int  value)
inline

Set up number times infeasible.

Definition at line 306 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::incrementNumberTimesUpInfeasible ( )
inline

Increment up number times infeasible.

Definition at line 311 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberBeforeTrust ( ) const
inline

Number of times before trusted.

Definition at line 317 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setNumberBeforeTrust ( int  value)
inline

Set number of times before trusted.

Definition at line 322 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::incrementNumberBeforeTrust ( )
inline

Increment number of times before trusted.

Definition at line 327 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

virtual double CbcSimpleIntegerDynamicPseudoCost::upEstimate ( ) const
virtual

Return "up" estimate.

Reimplemented from OsiObject.

virtual double CbcSimpleIntegerDynamicPseudoCost::downEstimate ( ) const
virtual

Return "down" estimate (default 1.0e-5)

Reimplemented from OsiObject.

int CbcSimpleIntegerDynamicPseudoCost::method ( ) const
inline

method - see below for details

Definition at line 338 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setMethod ( int  value)
inline

Set method.

Definition at line 343 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

void CbcSimpleIntegerDynamicPseudoCost::setDownInformation ( double  changeObjectiveDown,
int  changeInfeasibilityDown 
)

Pass in information on a down branch.

void CbcSimpleIntegerDynamicPseudoCost::setUpInformation ( double  changeObjectiveUp,
int  changeInfeasibilityUp 
)

Pass in information on a up branch.

void CbcSimpleIntegerDynamicPseudoCost::setProbingInformation ( int  fixedDown,
int  fixedUp 
)

Pass in probing information.

void CbcSimpleIntegerDynamicPseudoCost::print ( int  type = 0,
double  value = 0.0 
) const

Print - 0 -summary, 1 just before strong.

bool CbcSimpleIntegerDynamicPseudoCost::same ( const CbcSimpleIntegerDynamicPseudoCost obj) const

Same - returns true if contents match(ish)

Member Data Documentation

double CbcSimpleIntegerDynamicPseudoCost::downDynamicPseudoCost_
protected

data

Down pseudo cost

Definition at line 364 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::upDynamicPseudoCost_
protected

Up pseudo cost.

Definition at line 366 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::upDownSeparator_
protected

Up/down separator If >0.0 then do first branch up if value-floor(value) >= this value.

Definition at line 371 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::sumDownCost_
protected

Sum down cost from strong or actual.

Definition at line 373 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::sumUpCost_
protected

Sum up cost from strong or actual.

Definition at line 375 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::sumDownChange_
protected

Sum of all changes to x when going down.

Definition at line 377 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::sumUpChange_
protected

Sum of all changes to x when going up.

Definition at line 379 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::downShadowPrice_
mutableprotected

Current pseudo-shadow price estimate down.

Definition at line 381 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::upShadowPrice_
mutableprotected

Current pseudo-shadow price estimate up.

Definition at line 383 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::sumDownDecrease_
protected

Sum down decrease number infeasibilities from strong or actual.

Definition at line 385 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::sumUpDecrease_
protected

Sum up decrease number infeasibilities from strong or actual.

Definition at line 387 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::lastDownCost_
protected

Last down cost from strong (i.e. as computed by last strong)

Definition at line 389 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::lastUpCost_
protected

Last up cost from strong (i.e. as computed by last strong)

Definition at line 391 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::lastDownDecrease_
mutableprotected

Last down decrease number infeasibilities from strong (i.e. as computed by last strong)

Definition at line 393 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::lastUpDecrease_
mutableprotected

Last up decrease number infeasibilities from strong (i.e. as computed by last strong)

Definition at line 395 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberTimesDown_
protected

Number of times we have gone down.

Definition at line 397 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberTimesUp_
protected

Number of times we have gone up.

Definition at line 399 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberTimesDownInfeasible_
protected

Number of times we have been infeasible going down.

Definition at line 401 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberTimesUpInfeasible_
protected

Number of times we have been infeasible going up.

Definition at line 403 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberBeforeTrust_
protected

Number of branches before we trust.

Definition at line 405 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberTimesDownLocalFixed_
protected

Number of local probing fixings going down.

Definition at line 407 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberTimesUpLocalFixed_
protected

Number of local probing fixings going up.

Definition at line 409 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::numberTimesDownTotalFixed_
protected

Number of total probing fixings going down.

Definition at line 411 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

double CbcSimpleIntegerDynamicPseudoCost::numberTimesUpTotalFixed_
protected

Number of total probing fixings going up.

Definition at line 413 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::numberTimesProbingTotal_
protected

Number of times probing done.

Definition at line 415 of file CbcSimpleIntegerDynamicPseudoCost.hpp.

int CbcSimpleIntegerDynamicPseudoCost::method_
protected

Number of times infeasible when tested.

Method - 0 - pseudo costs 1 - probing

Definition at line 421 of file CbcSimpleIntegerDynamicPseudoCost.hpp.


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