# CbcCutSubsetModifier.hpp

Go to the documentation of this file.

    00001 // $Id$
    00002 // Copyright (C) 2003, International Business Machines
    00003 // Corporation and others.  All Rights Reserved.
    00004 // This code is licensed under the terms of the Eclipse Public License (EPL).
    00005
    00006 //Edwin 11/25/09 carved out of CbcCutGenerator
    00007
    00008 #ifndef CbcCutSubsetModifier_H
    00009 #define CbcCutSubsetModifier_H
    00010
    00011 #include "OsiSolverInterface.hpp"
    00012 #include "OsiCuts.hpp"
    00013 #include "CglCutGenerator.hpp"
    00014 #include "CbcCutModifier.hpp"
    00015
    00016 class CbcModel;
    00017 class OsiRowCut;
    00018 class OsiRowCutDebugger;
    00031 class CbcCutSubsetModifier  : public CbcCutModifier {
    00032 public:
    00034     CbcCutSubsetModifier ();
    00035
    00037     CbcCutSubsetModifier (int firstOdd);
    00038
    00039     // Copy constructor
    00040     CbcCutSubsetModifier ( const CbcCutSubsetModifier &);
    00041
    00043     virtual ~CbcCutSubsetModifier();
    00044
    00046     CbcCutSubsetModifier & operator=(const CbcCutSubsetModifier& rhs);
    00048     virtual CbcCutModifier * clone() const ;
    00049
    00056     virtual int modify(const OsiSolverInterface * solver, OsiRowCut & cut) ;
    00058     virtual void generateCpp( FILE * ) {}
    00059 protected:
    00062     int firstOdd_;
    00063 };
    00064
    00065 #endif //CbcCutSubsetModifier_H
    00066

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines