Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
CbcCutSubsetModifier Class Reference

Simple cut modifier base class. More...

#include <CbcCutSubsetModifier.hpp>

+ Inheritance diagram for CbcCutSubsetModifier:
+ Collaboration diagram for CbcCutSubsetModifier:

Public Member Functions

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

Protected Attributes

int firstOdd_
 data First odd variable More...

Detailed Description

Simple 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

initially get rid of cuts with variables >= k could weaken

Definition at line 31 of file CbcCutSubsetModifier.hpp.

Constructor & Destructor Documentation

CbcCutSubsetModifier::CbcCutSubsetModifier ( )

Default Constructor.

CbcCutSubsetModifier::CbcCutSubsetModifier ( int  firstOdd)

Useful Constructor.

CbcCutSubsetModifier::CbcCutSubsetModifier ( const CbcCutSubsetModifier )
virtual CbcCutSubsetModifier::~CbcCutSubsetModifier ( )


Member Function Documentation

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


virtual CbcCutModifier* CbcCutSubsetModifier::clone ( ) const


Implements CbcCutModifier.

virtual int CbcCutSubsetModifier::modify ( const OsiSolverInterface solver,
OsiRowCut cut 

Returns 0 unchanged 1 strengthened 2 weakened 3 deleted.

Implements CbcCutModifier.

virtual void CbcCutSubsetModifier::generateCpp ( FILE *  )

Create C++ lines to get to current state.

Reimplemented from CbcCutModifier.

Definition at line 58 of file CbcCutSubsetModifier.hpp.

Member Data Documentation

int CbcCutSubsetModifier::firstOdd_

data First odd variable

Definition at line 62 of file CbcCutSubsetModifier.hpp.

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