CouenneVTObject.hpp

Go to the documentation of this file.
00001 /* $Id: CouenneVTObject.hpp 522 2011-03-07 21:13:46Z pbelotti $
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 
00030     CouenneVarObject (c, p, ref, base, jnlst, Bonmin::BabSetupBase::OSI_SIMPLE) {}
00031 
00033   CouenneVTObject (const CouenneVTObject &src):
00034     CouenneVarObject (src) {}
00035 
00037   ~CouenneVTObject () {}
00038 
00040   virtual CouenneObject *clone () const
00041   {return new CouenneVTObject (*this);}
00042 
00046   virtual double infeasibility (const OsiBranchingInformation *info, int &way) const;
00047 };
00048 
00049 }
00050 
00051 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 13 May 2015 for Couenne by  doxygen 1.6.1