CoinPresolveIsolated.hpp
Go to the documentation of this file.
1 /* $Id: CoinPresolveIsolated.hpp 1215 2009-11-05 11:03:04Z forrest $ */
2 // Copyright (C) 2002, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 
5 #ifndef CoinPresolveIsolated_H
6 #define CoinPresolveIsolated_H
7 
8 #include "CoinPresolveMatrix.hpp"
9 
14 
15  double rlo_;
16  double rup_;
17  int row_;
18  int ninrow_;
19  // the arrays are owned by the class and must be deleted at destruction
20  const int *rowcols_;
21  const double *rowels_;
22  const double *costs_;
23 
25  double rup,
26  int row,
27  int ninrow,
28  const int *rowcols,
29  const double *rowels,
30  const double *costs,
31  const CoinPresolveAction *next) :
32  CoinPresolveAction(next),
33  rlo_(rlo), rup_(rup), row_(row), ninrow_(ninrow),
34  rowcols_(rowcols), rowels_(rowels), costs_(costs) {}
35 
36  public:
37  const char *name() const;
38 
39  static const CoinPresolveAction *presolve(CoinPresolveMatrix * prob,
40  int row,
41  const CoinPresolveAction *next);
42 
43  void postsolve(CoinPostsolveMatrix *prob) const;
44 
46 };
47 
48 
49 
50 #endif