Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef BlisPresolve_H_
00025 #define BlisPresolve_H_
00026
00027 #if defined(_MSC_VER)
00028
00029 # pragma warning(disable:4786)
00030 #endif
00031
00032 #include "OsiPresolve.hpp"
00033
00034
00035
00037 class BlisPresolve : public OsiPresolve
00038 {
00039 private:
00040
00041 CoinPresolveMatrix *preMatrix_;
00042 CoinPostsolveMatrix *postMatrix_;
00043
00044 public:
00045
00047 BlisPresolve() :
00048 preMatrix_(0),
00049 postMatrix_(0) {}
00050
00052 virtual ~BlisPresolve() {
00053 delete preMatrix_;
00054 delete postMatrix_;
00055 }
00056
00058 virtual OsiSolverInterface *preprocess(OsiSolverInterface & origModel,
00059 double feasibilityTolerance=0.0,
00060 bool keepIntegers=true,
00061 int numberPasses=5,
00062 const char * prohibited=NULL);
00063
00065 virtual void postprocess(bool updateStatus=true);
00066 };
00067
00068 #endif
00069
00070