Cgl 0.60.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CoinPresolveDual.hpp
Go to the documentation of this file.
1 /* $Id: CoinPresolveDual.hpp 2083 2019-01-06 19:38:09Z unxusr $ */
2
3 // Copyright (C) 2002, International Business Machines
4 // Corporation and others. All Rights Reserved.
5 // This code is licensed under the terms of the Eclipse Public License (EPL).
6
7 #ifndef CoinPresolveDual_H
8 #define CoinPresolveDual_H
9
35 class remove_dual_action : public CoinPresolveAction {
36
37 public:
39 ~remove_dual_action();
40
42 inline const char *name() const { return ("remove_dual_action"); }
43
49 static const CoinPresolveAction *presolve(CoinPresolveMatrix *prob,
50 const CoinPresolveAction *next);
51
57 void postsolve(CoinPostsolveMatrix *prob) const;
58
59 private:
61 struct action {
62 double rlo_;
63 double rup_;
64 int ndx_;
65 };
66
68 remove_dual_action(int nactions, const action *actions,
69 const CoinPresolveAction *next)
70 : CoinPresolveAction(next)
71 , nactions_(nactions)
72 , actions_(actions)
73 {
74 }
75
77 const int nactions_;
79 const action *actions_;
80 };
81 #endif
82
83 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
84 */
remove_dual_action::action::ndx_
int ndx_
row index
Definition: CoinPresolveDual.hpp:64
remove_dual_action::name
const char * name() const
Name.
Definition: CoinPresolveDual.hpp:42
CoinPresolveAction
Abstract base class of all presolve routines.
Definition: CoinPresolveMatrix.hpp:163
remove_dual_action::remove_dual_action
remove_dual_action(int nactions, const action *actions, const CoinPresolveAction *next)
Constructor with postsolve actions.
Definition: CoinPresolveDual.hpp:68
remove_dual_action::~remove_dual_action
~remove_dual_action()
Destructor.
remove_dual_action::postsolve
void postsolve(CoinPostsolveMatrix *prob) const
Postsolve.
CoinPresolveAction::next
const CoinPresolveAction * next
The next presolve transformation.
Definition: CoinPresolveMatrix.hpp:180
CoinPostsolveMatrix
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during postsol...
Definition: CoinPresolveMatrix.hpp:1552
remove_dual_action::action
Postsolve (bound restore) instruction.
Definition: CoinPresolveDual.hpp:61
remove_dual_action::nactions_
const int nactions_
Count of bound restore entries.
Definition: CoinPresolveDual.hpp:77
CoinPresolveMatrix
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during presolv...
Definition: CoinPresolveMatrix.hpp:905
remove_dual_action::presolve
static const CoinPresolveAction * presolve(CoinPresolveMatrix *prob, const CoinPresolveAction *next)
Attempt to fix variables by bounding reduced costs.
remove_dual_action::actions_
const action * actions_
Bound restore entries.
Definition: CoinPresolveDual.hpp:79
remove_dual_action::action::rlo_
double rlo_
restored row lower bound
Definition: CoinPresolveDual.hpp:62
remove_dual_action::action::rup_
double rup_
restored row upper bound
Definition: CoinPresolveDual.hpp:63
remove_dual_action
Attempt to fix variables by bounding reduced costs.
Definition: CoinPresolveDual.hpp:35