Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

CoinPresolveIsolated.hpp

00001 // Copyright (C) 2002, International Business Machines
00002 // Corporation and others.  All Rights Reserved.
00003 
00004 #ifndef CoinPresolveIsolated_H
00005 #define CoinPresolveIsolated_H
00006 class isolated_constraint_action : public CoinPresolveAction {
00007   double rlo_;
00008   double rup_;
00009   int row_;
00010   int ninrow_;
00011   const int *rowcols_;
00012   const double *rowels_;
00013   const double *costs_;
00014 
00015   isolated_constraint_action(double rlo,
00016                              double rup,
00017                              int row,
00018                              int ninrow,
00019                              const int *rowcols,
00020                              const double *rowels,
00021                              const double *costs,
00022                              const CoinPresolveAction *next) :
00023     CoinPresolveAction(next),
00024     rlo_(rlo), rup_(rup), row_(row), ninrow_(ninrow),
00025     rowcols_(rowcols), rowels_(rowels), costs_(costs) {}
00026 
00027  public:
00028   const char *name() const;
00029 
00030   static const CoinPresolveAction *presolve(CoinPresolveMatrix * prob,
00031                                          int row,
00032                                          const CoinPresolveAction *next);
00033 
00034   void postsolve(CoinPostsolveMatrix *prob) const;
00035 };
00036 
00037 
00038 
00039 #endif

Generated on Wed Dec 3 14:34:23 2003 for Coin by doxygen 1.3.5