Go to the documentation of this file.00001
00002
00003
00004
00005 #ifndef CoinPresolveIsolated_H
00006 #define CoinPresolveIsolated_H
00007
00008 #include "CoinPresolveMatrix.hpp"
00009
00010 class isolated_constraint_action : public CoinPresolveAction {
00011 isolated_constraint_action();
00012 isolated_constraint_action(const isolated_constraint_action& rhs);
00013 isolated_constraint_action& operator=(const isolated_constraint_action& rhs);
00014
00015 double rlo_;
00016 double rup_;
00017 int row_;
00018 int ninrow_;
00019
00020 const int *rowcols_;
00021 const double *rowels_;
00022 const double *costs_;
00023
00024 isolated_constraint_action(double rlo,
00025 double rup,
00026 int row,
00027 int ninrow,
00028 const int *rowcols,
00029 const double *rowels,
00030 const double *costs,
00031 const CoinPresolveAction *next) :
00032 CoinPresolveAction(next),
00033 rlo_(rlo), rup_(rup), row_(row), ninrow_(ninrow),
00034 rowcols_(rowcols), rowels_(rowels), costs_(costs) {}
00035
00036 public:
00037 const char *name() const;
00038
00039 static const CoinPresolveAction *presolve(CoinPresolveMatrix * prob,
00040 int row,
00041 const CoinPresolveAction *next);
00042
00043 void postsolve(CoinPostsolveMatrix *prob) const;
00044
00045 ~isolated_constraint_action();
00046 };
00047
00048
00049
00050 #endif