Couenne 0.5.8
Loading...
Searching...
No Matches
Couenne::CouenneFixPoint Class Reference

Cut Generator for FBBT fixpoint. More...

#include <CouenneFixPoint.hpp>

+ Inheritance diagram for Couenne::CouenneFixPoint:
+ Collaboration diagram for Couenne::CouenneFixPoint:

Public Member Functions

 CouenneFixPoint (CouenneProblem *, const Ipopt::SmartPtr< Ipopt::OptionsList >)
 constructor
 
 CouenneFixPoint (const CouenneFixPoint &)
 copy constructor
 
 ~CouenneFixPoint ()
 destructor
 
CouenneFixPointclone () const
 clone method (necessary for the abstract CglCutGenerator class)
 
void generateCuts (const OsiSolverInterface &, OsiCuts &, const CglTreeInfo=CglTreeInfo()) const
 the main CglCutGenerator
 
- Public Member Functions inherited from CglCutGenerator
virtual void generateCuts (const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo())=0
 
 CglCutGenerator ()
 
 CglCutGenerator (const CglCutGenerator &)
 
CglCutGeneratoroperator= (const CglCutGenerator &rhs)
 
virtual ~CglCutGenerator ()
 
virtual std::string generateCpp (FILE *)
 
virtual void refreshSolver (OsiSolverInterface *)
 
int getAggressiveness () const
 
void setAggressiveness (int value)
 
void setGlobalCuts (bool trueOrFalse)
 
bool canDoGlobalCuts () const
 
virtual bool mayGenerateRowCutsInTree () const
 
virtual bool needsOptimalBasis () const
 
virtual int maximumLengthOfCutInTree () const
 
virtual void generateCuts (const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo())=0
 
 CglCutGenerator ()
 
 CglCutGenerator (const CglCutGenerator &)
 
CglCutGeneratoroperator= (const CglCutGenerator &rhs)
 
virtual ~CglCutGenerator ()
 
virtual std::string generateCpp (FILE *)
 
virtual void refreshSolver (OsiSolverInterface *)
 

Static Public Member Functions

static void registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
 Add list of options to be read from file.
 

Protected Member Functions

void createRow (int, int, int, OsiSolverInterface *, const int *, const double *, const double, const int, bool, int, int) const
 Create a single cut.
 

Protected Attributes

bool extendedModel_
 should we use an extended model or a more compact one?
 
CouenneProblemproblem_
 pointer to the CouenneProblem representation
 
bool firstCall_
 Is this the first call?
 
double CPUtime_
 CPU time.
 
int nTightened_
 Number of bounds tightened.
 
int levelStop_
 Level at which to stop.
 
CouenneBTPerfIndicator perfIndicator_
 Performance indicator.
 

Additional Inherited Members

- Public Attributes inherited from CglCutGenerator
int aggressive_
 
bool canDoGlobalCuts_
 

Detailed Description

Cut Generator for FBBT fixpoint.

Definition at line 30 of file CouenneFixPoint.hpp.

Constructor & Destructor Documentation

◆ CouenneFixPoint() [1/2]

Couenne::CouenneFixPoint::CouenneFixPoint ( CouenneProblem * ,
const Ipopt::SmartPtr< Ipopt::OptionsList >  )

constructor

◆ CouenneFixPoint() [2/2]

Couenne::CouenneFixPoint::CouenneFixPoint ( const CouenneFixPoint & )

copy constructor

◆ ~CouenneFixPoint()

Couenne::CouenneFixPoint::~CouenneFixPoint ( )

destructor

Member Function Documentation

◆ clone()

CouenneFixPoint * Couenne::CouenneFixPoint::clone ( ) const
inlinevirtual

clone method (necessary for the abstract CglCutGenerator class)

Implements CglCutGenerator.

Definition at line 45 of file CouenneFixPoint.hpp.

◆ generateCuts()

void Couenne::CouenneFixPoint::generateCuts ( const OsiSolverInterface & ,
OsiCuts & ,
const CglTreeInfo = CglTreeInfo() ) const

the main CglCutGenerator

◆ registerOptions()

static void Couenne::CouenneFixPoint::registerOptions ( Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
static

Add list of options to be read from file.

◆ createRow()

void Couenne::CouenneFixPoint::createRow ( int ,
int ,
int ,
OsiSolverInterface * ,
const int * ,
const double * ,
const double ,
const int ,
bool ,
int ,
int  ) const
protected

Create a single cut.

Member Data Documentation

◆ extendedModel_

bool Couenne::CouenneFixPoint::extendedModel_
protected

should we use an extended model or a more compact one?

Definition at line 63 of file CouenneFixPoint.hpp.

◆ problem_

CouenneProblem* Couenne::CouenneFixPoint::problem_
protected

pointer to the CouenneProblem representation

Definition at line 66 of file CouenneFixPoint.hpp.

◆ firstCall_

bool Couenne::CouenneFixPoint::firstCall_
mutableprotected

Is this the first call?

Definition at line 69 of file CouenneFixPoint.hpp.

◆ CPUtime_

double Couenne::CouenneFixPoint::CPUtime_
mutableprotected

CPU time.

Definition at line 72 of file CouenneFixPoint.hpp.

◆ nTightened_

int Couenne::CouenneFixPoint::nTightened_
mutableprotected

Number of bounds tightened.

Definition at line 75 of file CouenneFixPoint.hpp.

◆ levelStop_

int Couenne::CouenneFixPoint::levelStop_
protected

Level at which to stop.

Definition at line 78 of file CouenneFixPoint.hpp.

◆ perfIndicator_

CouenneBTPerfIndicator Couenne::CouenneFixPoint::perfIndicator_
protected

Performance indicator.

Definition at line 92 of file CouenneFixPoint.hpp.


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