Blis 0.94
Loading...
Searching...
No Matches
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-2019, 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
38{
39private:
40
41 CoinPresolveMatrix *preMatrix_;
42 CoinPostsolveMatrix *postMatrix_;
43
44public:
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//#############################################################################
A interface to Osi/Coin Presolve.
Definition: BlisPresolve.h:38
virtual void postprocess(bool updateStatus=true)
Postsolve.
virtual ~BlisPresolve()
Virtual destructor.
Definition: BlisPresolve.h:52
BlisPresolve()
Default constructor (empty object)
Definition: BlisPresolve.h:47
virtual OsiSolverInterface * preprocess(OsiSolverInterface &origModel, double feasibilityTolerance=0.0, bool keepIntegers=true, int numberPasses=5, const char *prohibited=NULL)
Presolve.