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.
1
/* $Id: CbcChooseVariable.hpp 1286 2009-11-09 23:33:07Z EdwinStraver $ */
2
// Copyright (C) 2002, International Business Machines
3
// Corporation and others. All Rights Reserved.
4
#ifndef CbcChooseVariable_H
5
#define CbcChooseVariable_H
6
7
/* These can be alternative strategies for choosing variables
8
Any descendant can be passed in by setVariableChoice
9
*/
10
11
// FIXME: Do we want to define UP and DOWN constants (1 and -1) for clarity?
12
class
CbcChooseVariable
{
13
public
:
14
// Default Constructor
15
CbcChooseVariable
() {}
16
17
virtual
~CbcChooseVariable
() {}
23
virtual
int
chosen
(
const
CbcModel
* model,
int
numberToLookAt,
24
const
int
* which,
const
double
* downMovement,
25
const
double
* upMovement,
const
double
* solution,
26
int
& way,
double
& value) = 0;
27
28
};
29
30
#endif
31
Generated on Fri Jun 29 2012 06:31:52 by
1.8.1.1