Blis
0.94
src
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
37
class
BlisPresolve
:
public
OsiPresolve
38
{
39
private
:
40
41
CoinPresolveMatrix
*preMatrix_;
42
CoinPostsolveMatrix
*postMatrix_;
43
44
public
:
45
47
BlisPresolve
() :
48
preMatrix_(0),
49
postMatrix_(0) {}
50
52
virtual
~BlisPresolve
() {
53
delete
preMatrix_;
54
delete
postMatrix_;
55
}
56
58
virtual
OsiSolverInterface
*
preprocess
(
OsiSolverInterface
& origModel,
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
A interface to Osi/Coin Presolve.
Definition:
BlisPresolve.h:37
BlisPresolve::BlisPresolve
BlisPresolve()
Default constructor (empty object)
Definition:
BlisPresolve.h:47
CoinPostsolveMatrix
OsiPresolve
OsiSolverInterface
BlisPresolve::postprocess
virtual void postprocess(bool updateStatus=true)
Postsolve.
OsiPresolve.hpp
CoinPresolveMatrix
BlisPresolve::~BlisPresolve
virtual ~BlisPresolve()
Virtual destructor.
Definition:
BlisPresolve.h:52
BlisPresolve::preprocess
virtual OsiSolverInterface * preprocess(OsiSolverInterface &origModel, double feasibilityTolerance=0.0, bool keepIntegers=true, int numberPasses=5, const char *prohibited=NULL)
Presolve.
Generated by
1.8.17