/home/coin/SVN-release/Cbc-1.1.1/Cbc/examples/CbcBranchUser.hpp

Go to the documentation of this file.
00001 // Copyright (C) 2002, International Business Machines
00002 // Corporation and others.  All Rights Reserved.
00003 #ifndef CbcBranchUser_H
00004 #define CbcBranchUser_H
00005 
00006 #include "CbcBranchBase.hpp"
00007 
00010 class CbcBranchUserDecision : public CbcBranchDecision {
00011 public:
00012   // Default Constructor 
00013   CbcBranchUserDecision ();
00014 
00015   // Copy constructor 
00016   CbcBranchUserDecision ( const CbcBranchUserDecision &);
00017 
00018   virtual ~CbcBranchUserDecision();
00019 
00021   virtual CbcBranchDecision * clone() const;
00022 
00024   virtual void initialize(CbcModel * model);
00025 
00033   virtual int betterBranch(CbcBranchingObject * thisOne,
00034                             CbcBranchingObject * bestSoFar,
00035                             double changeUp, int numberInfeasibilitiesUp,
00036                             double changeDown, int numberInfeasibilitiesDown);
00037 
00045   virtual int
00046   bestBranch (CbcBranchingObject ** objects, int numberObjects, int numberUnsatisfied,
00047               double * changeUp, int * numberInfeasibilitiesUp,
00048               double * changeDown, int * numberInfeasibilitiesDown,
00049               double objectiveValue) ;
00050 private:
00051   
00053   CbcBranchUserDecision & operator=(const CbcBranchUserDecision& rhs);
00054 
00055 };
00056 
00057 #endif

Generated on Thu May 15 21:59:04 2008 by  doxygen 1.4.7