PandA-2024.02
Public Member Functions
CbcSimpleIntegerFixed Class Reference

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

#include <CbcBranchUser.hpp>

Inheritance diagram for CbcSimpleIntegerFixed:
Inheritance graph
[legend]
Collaboration diagram for CbcSimpleIntegerFixed:
Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

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

Definition at line 56 of file CbcBranchUser.hpp.

Constructor & Destructor Documentation

◆ CbcSimpleIntegerFixed() [1/4]

CbcSimpleIntegerFixed::CbcSimpleIntegerFixed ( )

◆ CbcSimpleIntegerFixed() [2/4]

CbcSimpleIntegerFixed::CbcSimpleIntegerFixed ( CbcModel *  model,
int  iColumn,
double  breakEven = 0.5 
)

◆ CbcSimpleIntegerFixed() [3/4]

CbcSimpleIntegerFixed::CbcSimpleIntegerFixed ( const CbcSimpleInteger &  simple)

◆ CbcSimpleIntegerFixed() [4/4]

CbcSimpleIntegerFixed::CbcSimpleIntegerFixed ( const CbcSimpleIntegerFixed )

◆ ~CbcSimpleIntegerFixed()

CbcSimpleIntegerFixed::~CbcSimpleIntegerFixed ( )

Member Function Documentation

◆ clone()

virtual CbcObject* CbcSimpleIntegerFixed::clone ( ) const
virtual

Clone.

◆ createBranch()

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.)

◆ infeasibility()

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

Infeasibility - large is 0.5.

◆ operator=()

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

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

Generated on Mon Feb 12 2024 13:03:47 for PandA-2024.02 by doxygen 1.8.13