CbcSimpleIntegerFixed Class Reference

Define a single integer class where branching is forced until fixed. More...

#include <CbcBranchUser.hpp>

Inheritance diagram for CbcSimpleIntegerFixed:
CbcSimpleInteger CbcObject

List of all members.

Public Member Functions

 CbcSimpleIntegerFixed ()
 CbcSimpleIntegerFixed (CbcModel *model, int iColumn, double breakEven=0.5)
 CbcSimpleIntegerFixed (const CbcSimpleInteger &simple)
 CbcSimpleIntegerFixed (const CbcSimpleIntegerFixed &)
virtual CbcObjectclone () const
 Clone.
CbcSimpleIntegerFixedoperator= (const CbcSimpleIntegerFixed &rhs)
 ~CbcSimpleIntegerFixed ()
virtual double infeasibility (int &preferredWay) const
 Infeasibility - large is 0.5.
virtual CbcBranchingObjectcreateBranch (OsiSolverInterface *solver, const OsiBranchingInformation *info, int way)
 Creates a branching object.

Detailed Description

Define a single integer class where branching is forced until fixed.

Definition at line 61 of file CbcBranchUser.hpp.


Constructor & Destructor Documentation

CbcSimpleIntegerFixed::CbcSimpleIntegerFixed (  ) 
CbcSimpleIntegerFixed::CbcSimpleIntegerFixed ( CbcModel model,
int  iColumn,
double  breakEven = 0.5 
)
CbcSimpleIntegerFixed::CbcSimpleIntegerFixed ( const CbcSimpleInteger simple  ) 
CbcSimpleIntegerFixed::CbcSimpleIntegerFixed ( const CbcSimpleIntegerFixed  ) 
CbcSimpleIntegerFixed::~CbcSimpleIntegerFixed (  ) 

Member Function Documentation

virtual CbcObject* CbcSimpleIntegerFixed::clone (  )  const [virtual]

Clone.

Reimplemented from CbcSimpleInteger.

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

Reimplemented from CbcSimpleInteger.

virtual double CbcSimpleIntegerFixed::infeasibility ( int &  preferredWay  )  const [virtual]

Infeasibility - large is 0.5.

Reimplemented from CbcSimpleInteger.

virtual CbcBranchingObject* CbcSimpleIntegerFixed::createBranch ( OsiSolverInterface *  solver,
const OsiBranchingInformation *  info,
int  way 
) [virtual]

Creates a branching object.

The preferred direction is set by way, -1 for down, +1 for up. 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 from CbcSimpleInteger.


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

Generated on Tue Nov 24 00:15:27 2009 by  doxygen 1.6.1