00001 /* $Id: CouenneVTObject.hpp 259 2009-10-04 14:20:13Z 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-09. 00008 * This file is licensed under the Common Public License (CPL) 00009 */ 00010 00011 #ifndef COUENNEVTOBJECT_HPP 00012 #define COUENNEVTOBJECT_HPP 00013 00014 #include "CouenneVarObject.hpp" 00015 00017 class CouenneVTObject: public CouenneVarObject { 00018 00019 public: 00020 00022 CouenneVTObject (CouenneCutGenerator *c, 00023 CouenneProblem *p, 00024 exprVar *ref, 00025 Bonmin::BabSetupBase *base, 00026 JnlstPtr jnlst): 00027 00028 CouenneVarObject (c, p, ref, base, jnlst) {} 00029 00031 CouenneVTObject (const CouenneVTObject &src): 00032 CouenneVarObject (src) {} 00033 00035 ~CouenneVTObject () {} 00036 00038 virtual CouenneObject *clone () const 00039 {return new CouenneVTObject (*this);} 00040 00044 virtual double infeasibility (const OsiBranchingInformation *info, int &way) const; 00045 }; 00046 00047 #endif