Bonmin::LinearCutsGenerator Class Reference

#include <BonLinearCutsGenerator.hpp>

List of all members.

Public Member Functions

 LinearCutsGenerator ()
 LinearCutsGenerator (const LinearCutsGenerator &other)
CglCutGenerator * clone () const
virtual ~LinearCutsGenerator ()
bool needsOptimalBasis ()
void initialize (BabSetupBase &s)
void generateCuts (const OsiSolverInterface &solver, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo()) const

Private Attributes

std::list< Coin::SmartPtr<
CuttingMethod > > 
methods_

Classes

struct  CuttingMethod
 Type for cut generation method with its frequency and string identification. More...


Detailed Description

Definition at line 20 of file BonLinearCutsGenerator.hpp.


Constructor & Destructor Documentation

Bonmin::LinearCutsGenerator::LinearCutsGenerator (  )  [inline]

Definition at line 43 of file BonLinearCutsGenerator.hpp.

Referenced by clone().

Bonmin::LinearCutsGenerator::LinearCutsGenerator ( const LinearCutsGenerator other  )  [inline]

Definition at line 49 of file BonLinearCutsGenerator.hpp.

virtual Bonmin::LinearCutsGenerator::~LinearCutsGenerator (  )  [inline, virtual]

Definition at line 58 of file BonLinearCutsGenerator.hpp.


Member Function Documentation

CglCutGenerator* Bonmin::LinearCutsGenerator::clone (  )  const [inline]

Definition at line 54 of file BonLinearCutsGenerator.hpp.

References LinearCutsGenerator().

bool Bonmin::LinearCutsGenerator::needsOptimalBasis (  )  [inline]

Definition at line 61 of file BonLinearCutsGenerator.hpp.

void Bonmin::LinearCutsGenerator::initialize ( BabSetupBase s  ) 

Definition at line 21 of file BonLinearCutsGenerator.cpp.

References methods_, and s.

Referenced by Bonmin::Bab::branchAndBound().

void Bonmin::LinearCutsGenerator::generateCuts ( const OsiSolverInterface &  solver,
OsiCuts &  cs,
const CglTreeInfo  info = CglTreeInfo() 
) const

Definition at line 109 of file BonLinearCutsGenerator.cpp.

References e, Bonmin::OsiTMINLPInterface::getColSolution(), Bonmin::OsiTMINLPInterface::getNumRows(), Bonmin::OsiTMINLPInterface::getRowActivity(), Bonmin::OsiTMINLPInterface::getRowLower(), Bonmin::OsiTMINLPInterface::getRowUpper(), methods_, and Bonmin::OsiTMINLPInterface::resolve().

Referenced by Bonmin::Bab::branchAndBound().


Member Data Documentation

std::list<Coin::SmartPtr<CuttingMethod> > Bonmin::LinearCutsGenerator::methods_ [private]

Definition at line 70 of file BonLinearCutsGenerator.hpp.

Referenced by generateCuts(), and initialize().


The documentation for this class was generated from the following files:
Generated on Mon May 3 03:13:52 2010 by  doxygen 1.4.7