CouenneVTObject.hpp

Go to the documentation of this file.
00001 /* $Id: CouenneVTObject.hpp 991 2013-08-05 06:20:55Z fmargot $
00002  *
00003  * Name:    CouenneVTObject.hpp
00004  * Authors: Pietro Belotti, Carnegie Mellon University
00005  * Purpose: Object for branching on variables using violation transfer
00006  *
00007  * (C) Carnegie-Mellon University, 2008-11.
00008  * This file is licensed under the Eclipse Public License (EPL)
00009  */
00010 
00011 #ifndef COUENNEVTOBJECT_HPP
00012 #define COUENNEVTOBJECT_HPP
00013 
00014 #include "CouenneVarObject.hpp"
00015 
00016 namespace Couenne {
00017 
00019 class CouenneVTObject: public CouenneVarObject {
00020 
00021 public:
00022 
00024   CouenneVTObject (CouenneCutGenerator *c,
00025                    CouenneProblem *p,
00026                    exprVar *ref, 
00027                    Bonmin::BabSetupBase *base, 
00028                    JnlstPtr jnlst,
00029                    int varSelection // either OSI_SIMPLE or OSI_STRONG
00030                    ):
00031 
00032     CouenneVarObject (c, p, ref, base, jnlst, varSelection) {}
00033 
00035   CouenneVTObject (const CouenneVTObject &src):
00036     CouenneVarObject (src) {}
00037 
00039   ~CouenneVTObject () {}
00040 
00042   virtual CouenneObject *clone () const
00043   {return new CouenneVTObject (*this);}
00044 
00048   virtual double infeasibility (const OsiBranchingInformation *info, int &way) const;
00049 };
00050 
00051 }
00052 
00053 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 20 Jan 2015 for Couenne by  doxygen 1.6.1