Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbcObjectUpdateData.hpp
Go to the documentation of this file.
1 // $Id: CbcObjectUpdateData.hpp 1899 2013-04-09 18:12:08Z stefan $
2 // Copyright (C) 2002, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 // This code is licensed under the terms of the Eclipse Public License (EPL).
5 
6 // Edwin 11/12/2009 carved from CbcBranchBase
7 
8 #ifndef CbcObjectUpdateData_H
9 #define CbcObjectUpdateData_H
10 
11 #include "CbcObject.hpp"
12 /* This stores data so an object can be updated
13  */
15 
16 public:
17 
20 
23  int way,
24  double change,
25  int status,
26  int intDecrease_,
27  double branchingValue);
28 
31 
34 
36  virtual ~CbcObjectUpdateData ();
37 
38 
39 public:
41 
45  int way_;
49  double change_;
51  int status_;
59  double cutoff_;
60 
61 };
62 
63 #endif
64 
CbcObject * object_
data
int objectNumber_
Object number.
double originalObjective_
Objective value before branching.
int intDecrease_
Decrease in number unsatisfied.
CbcObjectUpdateData & operator=(const CbcObjectUpdateData &rhs)
Assignment operator.
int status_
Status 0 Optimal, 1 infeasible, 2 unknown.
double cutoff_
Current cutoff.
double change_
Change in objective.
CbcObjectUpdateData()
Default Constructor.
int way_
Branch as defined by instance of CbcObject.
double branchingValue_
Branching value.
virtual ~CbcObjectUpdateData()
Destructor.