|
Cbc 2.10.13
|
#include <CbcSimpleInteger.hpp>
Public Member Functions | |
| CbcSimpleInteger () | |
| CbcSimpleInteger (CbcModel *model, int iColumn, double breakEven=0.5) | |
| CbcSimpleInteger (CbcModel *model, const OsiSimpleInteger *object) | |
| CbcSimpleInteger (const CbcSimpleInteger &) | |
| *virtual Clone CbcObject * | clone () const |
| CbcSimpleInteger & | operator= (const CbcSimpleInteger &rhs) |
| virtual | ~CbcSimpleInteger () |
| *Construct an OsiSimpleInteger object OsiSimpleInteger * | osiObject () const |
| *Infeasibility large virtual is double | infeasibility (const OsiBranchingInformation *info, int &preferredWay) const |
| virtual double | feasibleRegion (OsiSolverInterface *solver, const OsiBranchingInformation *info) const |
| Set bounds to fix the variable at the current (integer) value. | |
| virtual CbcBranchingObject * | createCbcBranch (OsiSolverInterface *solver, const OsiBranchingInformation *info, int way) |
| Create a branching object and indicate which way to branch first. | |
| *Fills in a created branching object void | fillCreateBranch (CbcIntegerBranchingObject *branching, const OsiBranchingInformation *info, int way) |
| virtual OsiSolverBranch * | solverBranch (OsiSolverInterface *solver, const OsiBranchingInformation *info) const |
| Create an OsiSolverBranch object. | |
| virtual void | feasibleRegion () |
| Set bounds to fix the variable at the current (integer) value. | |
| virtual int | columnNumber () const |
| Column number if single column object -1 otherwise, so returns >= 0 Used by heuristics. | |
| *Set column number void | setColumnNumber (int value) |
| virtual void | resetBounds (const OsiSolverInterface *solver) |
| Reset variable bounds to their original values. | |
| virtual void | resetSequenceEtc (int numberColumns, const int *originalColumns) |
| Change column numbers after preprocessing. | |
| *Original bounds double | originalLowerBound () const |
| void | setOriginalLowerBound (double value) |
| double | originalUpperBound () const |
| void | setOriginalUpperBound (double value) |
Public Attributes | |
| *Breakeven e | g |
| *Original upper bound double | originalUpper_ |
| *Breakeven i | e |
| *Column number in model int | columnNumber_ |
| *If down always chosen | first |
| *If down always chosen up | always |
| *If down always chosen up normal int | preferredWay_ |
Definition at line 171 of file CbcSimpleInteger.hpp.
| CbcSimpleInteger::CbcSimpleInteger | ( | ) |
| CbcSimpleInteger::CbcSimpleInteger | ( | CbcModel * | model, |
| int | iColumn, | ||
| double | breakEven = 0.5 ) |
| CbcSimpleInteger::CbcSimpleInteger | ( | CbcModel * | model, |
| const OsiSimpleInteger * | object ) |
| CbcSimpleInteger::CbcSimpleInteger | ( | const CbcSimpleInteger & | ) |
|
virtual |
|
virtual |
Reimplemented in CbcSimpleIntegerDynamicPseudoCost, CbcSimpleIntegerFixed, and CbcSimpleIntegerPseudoCost.
| CbcSimpleInteger & CbcSimpleInteger::operator= | ( | const CbcSimpleInteger & | rhs | ) |
| *Construct an OsiSimpleInteger object OsiSimpleInteger * CbcSimpleInteger::osiObject | ( | ) | const |
|
virtual |
Reimplemented in CbcSimpleIntegerDynamicPseudoCost, and CbcSimpleIntegerPseudoCost.
|
virtual |
Set bounds to fix the variable at the current (integer) value.
Given an integer value, set the lower and upper bounds to fix the variable. Returns amount it had to move variable.
|
virtual |
Create a branching object and indicate which way to branch first.
The branching object has to know how to create branches (fix variables, etc.)
Reimplemented in CbcSimpleIntegerDynamicPseudoCost, and CbcSimpleIntegerPseudoCost.
| *Fills in a created branching object void CbcSimpleInteger::fillCreateBranch | ( | CbcIntegerBranchingObject * | branching, |
| const OsiBranchingInformation * | info, | ||
| int | way ) |
|
virtual |
Create an OsiSolverBranch object.
This returns NULL if branch not represented by bound changes
Reimplemented in CbcSimpleIntegerDynamicPseudoCost.
|
virtual |
Set bounds to fix the variable at the current (integer) value.
Given an integer value, set the lower and upper bounds to fix the variable. The algorithm takes a bit of care in order to compensate for minor numerical inaccuracy.
|
virtual |
Column number if single column object -1 otherwise, so returns >= 0 Used by heuristics.
|
inline |
Definition at line 240 of file CbcSimpleInteger.hpp.
|
virtual |
Reset variable bounds to their original values.
Bounds may be tightened, so it may be good to be able to set this info in object.
|
virtual |
Change column numbers after preprocessing.
|
inline |
Definition at line 255 of file CbcSimpleInteger.hpp.
|
inline |
Definition at line 259 of file CbcSimpleInteger.hpp.
|
inline |
Definition at line 263 of file CbcSimpleInteger.hpp.
|
inline |
Definition at line 267 of file CbcSimpleInteger.hpp.
| * Breakeven e CbcSimpleInteger::g |
Definition at line 271 of file CbcSimpleInteger.hpp.
| * Original upper bound double CbcSimpleInteger::originalUpper_ |
Definition at line 288 of file CbcSimpleInteger.hpp.
| * Breakeven i CbcSimpleInteger::e |
Definition at line 289 of file CbcSimpleInteger.hpp.
| * Column number in model int CbcSimpleInteger::columnNumber_ |
Definition at line 292 of file CbcSimpleInteger.hpp.
| * If down always chosen CbcSimpleInteger::first |
Definition at line 293 of file CbcSimpleInteger.hpp.
| * If down always chosen up CbcSimpleInteger::always |
Definition at line 293 of file CbcSimpleInteger.hpp.
| * If down always chosen up normal int CbcSimpleInteger::preferredWay_ |
Definition at line 294 of file CbcSimpleInteger.hpp.