Cbc  2.10.10
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
OsiSimpleFixedInteger Class Reference

Define a single integer class - but one where you keep branching until fixed even if satisfied. More...

#include <CbcLinked.hpp>

+ Inheritance diagram for OsiSimpleFixedInteger:
+ Collaboration diagram for OsiSimpleFixedInteger:

Public Member Functions

 OsiSimpleFixedInteger ()
 Default Constructor. More...
 
 OsiSimpleFixedInteger (const OsiSolverInterface *solver, int iColumn)
 Useful constructor - passed solver index. More...
 
 OsiSimpleFixedInteger (int iColumn, double lower, double upper)
 Useful constructor - passed solver index and original bounds. More...
 
 OsiSimpleFixedInteger (const OsiSimpleInteger &)
 Useful constructor - passed simple integer. More...
 
 OsiSimpleFixedInteger (const OsiSimpleFixedInteger &)
 Copy constructor. More...
 
virtual OsiObject * clone () const
 Clone. More...
 
OsiSimpleFixedIntegeroperator= (const OsiSimpleFixedInteger &rhs)
 Assignment operator. More...
 
virtual ~OsiSimpleFixedInteger ()
 Destructor. More...
 
virtual double infeasibility (const OsiBranchingInformation *info, int &whichWay) const
 Infeasibility - large is 0.5. More...
 
virtual OsiBranchingObject * createBranch (OsiSolverInterface *solver, const OsiBranchingInformation *info, int way) const
 Creates a branching object. More...
 

Detailed Description

Define a single integer class - but one where you keep branching until fixed even if satisfied.

Definition at line 1128 of file CbcLinked.hpp.

Constructor & Destructor Documentation

◆ OsiSimpleFixedInteger() [1/5]

OsiSimpleFixedInteger::OsiSimpleFixedInteger ( )

Default Constructor.

◆ OsiSimpleFixedInteger() [2/5]

OsiSimpleFixedInteger::OsiSimpleFixedInteger ( const OsiSolverInterface *  solver,
int  iColumn 
)

Useful constructor - passed solver index.

◆ OsiSimpleFixedInteger() [3/5]

OsiSimpleFixedInteger::OsiSimpleFixedInteger ( int  iColumn,
double  lower,
double  upper 
)

Useful constructor - passed solver index and original bounds.

◆ OsiSimpleFixedInteger() [4/5]

OsiSimpleFixedInteger::OsiSimpleFixedInteger ( const OsiSimpleInteger &  )

Useful constructor - passed simple integer.

◆ OsiSimpleFixedInteger() [5/5]

OsiSimpleFixedInteger::OsiSimpleFixedInteger ( const OsiSimpleFixedInteger )

Copy constructor.

◆ ~OsiSimpleFixedInteger()

virtual OsiSimpleFixedInteger::~OsiSimpleFixedInteger ( )
virtual

Destructor.

Member Function Documentation

◆ clone()

virtual OsiObject* OsiSimpleFixedInteger::clone ( ) const
virtual

Clone.

◆ operator=()

OsiSimpleFixedInteger& OsiSimpleFixedInteger::operator= ( const OsiSimpleFixedInteger rhs)

Assignment operator.

◆ infeasibility()

virtual double OsiSimpleFixedInteger::infeasibility ( const OsiBranchingInformation *  info,
int &  whichWay 
) const
virtual

Infeasibility - large is 0.5.

◆ createBranch()

virtual OsiBranchingObject* OsiSimpleFixedInteger::createBranch ( OsiSolverInterface *  solver,
const OsiBranchingInformation *  info,
int  way 
) const
virtual

Creates a branching object.

The preferred direction is set by way, 0 for down, 1 for up.


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