BlisPresolve.h
Go to the documentation of this file.
1 /*===========================================================================*
2  * This file is part of the BiCePS Linear Integer Solver (BLIS). *
3  * *
4  * BLIS is distributed under the Eclipse Public License as part of the *
5  * COIN-OR repository (http://www.coin-or.org). *
6  * *
7  * Authors: *
8  * *
9  * Yan Xu, Lehigh University *
10  * Ted Ralphs, Lehigh University *
11  * *
12  * Conceptual Design: *
13  * *
14  * Yan Xu, Lehigh University *
15  * Ted Ralphs, Lehigh University *
16  * Laszlo Ladanyi, IBM T.J. Watson Research Center *
17  * Matthew Saltzman, Clemson University *
18  * *
19  * *
20  * Copyright (C) 2001-2013, Lehigh University, Yan Xu, and Ted Ralphs. *
21  * All Rights Reserved. *
22  *===========================================================================*/
23 
24 #ifndef BlisPresolve_H_
25 #define BlisPresolve_H_
26 
27 #if defined(_MSC_VER)
28 // Turn off compiler warning about long names
29 # pragma warning(disable:4786)
30 #endif
31 
32 #include "OsiPresolve.hpp"
33 
34 //#############################################################################
35 
37 class BlisPresolve : public OsiPresolve
38 {
39 private:
40 
43 
44 public:
45 
48  preMatrix_(0),
49  postMatrix_(0) {}
50 
52  virtual ~BlisPresolve() {
53  delete preMatrix_;
54  delete postMatrix_;
55  }
56 
59  double feasibilityTolerance=0.0,
60  bool keepIntegers=true,
61  int numberPasses=5,
62  const char * prohibited=NULL);
63 
65  virtual void postprocess(bool updateStatus=true);
66 };
67 
68 #endif
69 
70 //#############################################################################
BlisPresolve()
Default constructor (empty object)
Definition: BlisPresolve.h:47
A interface to Osi/Coin Presolve.
Definition: BlisPresolve.h:37
CoinPresolveMatrix * preMatrix_
Definition: BlisPresolve.h:41
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during postsol...
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during presolv...
virtual OsiSolverInterface * preprocess(OsiSolverInterface &origModel, double feasibilityTolerance=0.0, bool keepIntegers=true, int numberPasses=5, const char *prohibited=NULL)
Presolve.
virtual ~BlisPresolve()
Virtual destructor.
Definition: BlisPresolve.h:52
CoinPostsolveMatrix * postMatrix_
Definition: BlisPresolve.h:42
OSI interface to COIN problem simplification capabilities.
Definition: OsiPresolve.hpp:62
Abstract Base Class for describing an interface to a solver.
virtual void postprocess(bool updateStatus=true)
Postsolve.