CoinUtils  2.9.0
 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 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)
72  : CoinPresolveAction(next),
73  nactions_(nactions),
74  actions_(actions)
75  {}
76 
78  const int nactions_ ;
80  const action *actions_ ;
81 
82 } ;
83 #endif
84 
85