• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

/build/buildd/coinor-cbc-2.5.0/Cbc/src/CbcChooseVariable.hpp

Go to the documentation of this file.
00001 /* $Id: CbcChooseVariable.hpp 1286 2009-11-09 23:33:07Z EdwinStraver $ */
00002 // Copyright (C) 2002, International Business Machines
00003 // Corporation and others.  All Rights Reserved.
00004 #ifndef CbcChooseVariable_H
00005 #define CbcChooseVariable_H
00006 
00007 /*  These can be alternative strategies for choosing variables
00008     Any descendant can be passed in by setVariableChoice
00009 */
00010 
00011 // FIXME: Do we want to define UP and DOWN constants (1 and -1) for clarity?
00012 class CbcChooseVariable {
00013 public:
00014     // Default Constructor
00015     CbcChooseVariable () {}
00016 
00017     virtual ~CbcChooseVariable() {}
00023     virtual int chosen (const CbcModel * model, int numberToLookAt,
00024                         const int * which, const double * downMovement,
00025                         const double * upMovement, const double * solution,
00026                         int & way, double & value) = 0;
00027 
00028 };
00029 
00030 #endif
00031 

Generated on Sat Oct 23 2010 23:46:55 by  doxygen 1.7.1