Cbc  2.10.5
 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 2465 2019-01-03 19:26:52Z unxusr $
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:
19 
22  int way,
23  double change,
24  int status,
25  int intDecrease_,
26  double branchingValue);
27 
30 
33 
35  virtual ~CbcObjectUpdateData();
36 
37 public:
39 
43  int way_;
47  double change_;
49  int status_;
57  double cutoff_;
58 };
59 
60 #endif
61 
62 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
63 */
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.