CoinUtils  2.10.14
CoinPresolveDual.hpp
Go to the documentation of this file.
1 /* $Id: CoinPresolveDual.hpp 1510 2011-12-08 23:56:01Z lou $ */
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 
36 
37  public:
38 
41 
43  inline const char *name () const { return ("remove_dual_action") ; }
44 
51  const CoinPresolveAction *next) ;
52 
58  void postsolve (CoinPostsolveMatrix *prob) const ;
59 
60  private:
61 
63  struct action {
64  double rlo_ ;
65  double rup_ ;
66  int ndx_ ;
67  } ;
68 
70  remove_dual_action(int nactions, const action *actions,
71  const CoinPresolveAction *next)
73  nactions_(nactions),
74  actions_(actions)
75  {}
76 
78  const int nactions_ ;
80  const action *actions_ ;
81 
82 } ;
83 #endif
84 
85 
remove_dual_action::presolve
static const CoinPresolveAction * presolve(CoinPresolveMatrix *prob, const CoinPresolveAction *next)
Attempt to fix variables by bounding reduced costs.
remove_dual_action::action::rup_
double rup_
restored row upper bound
Definition: CoinPresolveDual.hpp:65
remove_dual_action::action::rlo_
double rlo_
restored row lower bound
Definition: CoinPresolveDual.hpp:64
remove_dual_action::actions_
const action * actions_
Bound restore entries.
Definition: CoinPresolveDual.hpp:80
remove_dual_action::nactions_
const int nactions_
Count of bound restore entries.
Definition: CoinPresolveDual.hpp:78
remove_dual_action::~remove_dual_action
~remove_dual_action()
Destructor.
remove_dual_action::postsolve
void postsolve(CoinPostsolveMatrix *prob) const
Postsolve.
remove_dual_action::remove_dual_action
remove_dual_action(int nactions, const action *actions, const CoinPresolveAction *next)
Constructor with postsolve actions.
Definition: CoinPresolveDual.hpp:70
CoinPresolveAction::next
const CoinPresolveAction * next
The next presolve transformation.
Definition: CoinPresolveMatrix.hpp:171
CoinPostsolveMatrix
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during postsol...
Definition: CoinPresolveMatrix.hpp:1422
CoinPresolveAction
Abstract base class of all presolve routines.
Definition: CoinPresolveMatrix.hpp:156
remove_dual_action::name
const char * name() const
Name.
Definition: CoinPresolveDual.hpp:43
remove_dual_action::action
Postsolve (bound restore) instruction.
Definition: CoinPresolveDual.hpp:63
remove_dual_action
Attempt to fix variables by bounding reduced costs.
Definition: CoinPresolveDual.hpp:35
CoinPresolveMatrix
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during presolv...
Definition: CoinPresolveMatrix.hpp:836
remove_dual_action::action::ndx_
int ndx_
row index
Definition: CoinPresolveDual.hpp:66