Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
CbcCutModifier Class Referenceabstract

Abstract cut modifier base class. More...

#include <CbcCutModifier.hpp>

+ Inheritance diagram for CbcCutModifier:

Public Member Functions

 CbcCutModifier ()
 Default Constructor. More...
 CbcCutModifier (const CbcCutModifier &)
virtual ~CbcCutModifier ()
 Destructor. More...
CbcCutModifieroperator= (const CbcCutModifier &rhs)
 Assignment. More...
virtual CbcCutModifierclone () const =0
 Clone. More...
virtual int modify (const OsiSolverInterface *solver, OsiRowCut &cut)=0
 Returns 0 unchanged 1 strengthened 2 weakened 3 deleted. More...
virtual void generateCpp (FILE *)
 Create C++ lines to get to current state. More...

Detailed Description

Abstract cut modifier base class.

In exotic circumstances - cuts may need to be modified a) strengthened - changed b) weakened - changed c) deleted - set to NULL d) unchanged

Definition at line 27 of file CbcCutModifier.hpp.

Constructor & Destructor Documentation

CbcCutModifier::CbcCutModifier ( )

Default Constructor.

CbcCutModifier::CbcCutModifier ( const CbcCutModifier )
virtual CbcCutModifier::~CbcCutModifier ( )


Member Function Documentation

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


virtual CbcCutModifier* CbcCutModifier::clone ( ) const
pure virtual


Implemented in CbcCutSubsetModifier.

virtual int CbcCutModifier::modify ( const OsiSolverInterface solver,
OsiRowCut cut 
pure virtual

Returns 0 unchanged 1 strengthened 2 weakened 3 deleted.

Implemented in CbcCutSubsetModifier.

virtual void CbcCutModifier::generateCpp ( FILE *  )

Create C++ lines to get to current state.

Reimplemented in CbcCutSubsetModifier.

Definition at line 51 of file CbcCutModifier.hpp.

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