# CouenneComplBranchingObject.hpp

Go to the documentation of this file.

    00001 /* $Id: CouenneComplBranchingObject.hpp 490 2011-01-14 16:07:12Z pbelotti $
    00002  *
    00003  * Name:    CouenneComplBranchingObject.hpp
    00004  * Authors: Pietro Belotti, Lehigh University
    00005  * Purpose: Branching object for complementarity constraints
    00006  *
    00007  * (C) Carnegie-Mellon University, 2008-09.
    00008  * This file is licensed under the Eclipse Public License (EPL)
    00009  */
    00010
    00011 #ifndef COUENNECOMPLBRANCHINGOBJECT_HPP
    00012 #define COUENNECOMPLBRANCHINGOBJECT_HPP
    00013
    00014 #include "CouenneBranchingObject.hpp"
    00015
    00016 namespace Couenne {
    00017
    00024 class CouenneComplBranchingObject: public CouenneBranchingObject {
    00025
    00026 public:
    00027
    00029   CouenneComplBranchingObject (OsiSolverInterface *solver,
    00030                                const OsiObject *originalObject,
    00031                                JnlstPtr jnlst,
    00032                                CouenneCutGenerator *c,
    00033                                CouenneProblem *p,
    00034                                expression *var,
    00035                                expression *var2,
    00036                                int way,
    00037                                CouNumber brpoint,
    00038                                bool doFBBT,
    00039                                bool doConvCuts,
    00040                                int sign);
    00041
    00043   CouenneComplBranchingObject (const CouenneComplBranchingObject &src):
    00044     CouenneBranchingObject (src),
    00045     variable2_ (src.variable2_),
    00046     sign_      (src.sign_) {}
    00047
    00049   virtual OsiBranchingObject *clone () const
    00050   {return new CouenneComplBranchingObject (*this);}
    00051
    00057   virtual double branch (OsiSolverInterface * solver = NULL);
    00058
    00059 protected:
    00060
    00063   expression *variable2_;
    00064
    00068   int sign_;
    00069 };
    00070
    00071 }
    00072
    00073 #endif

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines