Cbc 2.10.5
Loading...
Searching...
No Matches
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
16public:
19
22 int way,
23 double change,
24 int status,
25 int intDecrease_,
26 double branchingValue);
27
30
33
36
37public:
39
43 int way_;
47 double change_;
57 double cutoff_;
58};
59
60#endif
61
62/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
63*/
double branchingValue_
Branching value.
CbcObjectUpdateData(CbcObject *object, int way, double change, int status, int intDecrease_, double branchingValue)
Useful constructor.
double originalObjective_
Objective value before branching.
CbcObjectUpdateData()
Default Constructor.
CbcObjectUpdateData(const CbcObjectUpdateData &)
Copy constructor.
int status_
Status 0 Optimal, 1 infeasible, 2 unknown.
virtual ~CbcObjectUpdateData()
Destructor.
int way_
Branch as defined by instance of CbcObject.
double change_
Change in objective.
double cutoff_
Current cutoff.
int intDecrease_
Decrease in number unsatisfied.
CbcObjectUpdateData & operator=(const CbcObjectUpdateData &rhs)
Assignment operator.
int objectNumber_
Object number.