CouenneComplBranchingObject.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
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