CoinUtils
2.11.2
src
CoinPresolveImpliedFree.hpp
Go to the documentation of this file.
1
/* $Id: CoinPresolveImpliedFree.hpp 2083 2019-01-06 19:38:09Z unxusr $ */
2
// Copyright (C) 2002, International Business Machines
3
// Corporation and others. All Rights Reserved.
4
// This code is licensed under the terms of the Eclipse Public License (EPL).
5
6
#ifndef CoinPresolveImpliedFree_H
7
#define CoinPresolveImpliedFree_H
8
13
#define IMPLIED_FREE 9
14
29
class
implied_free_action
:
public
CoinPresolveAction
{
30
struct
action {
31
int
row, col;
32
double
clo, cup;
33
double
rlo, rup;
34
const
double
*rowels;
35
const
double
*costs;
36
int
ninrow;
37
};
38
39
const
int
nactions_;
40
const
action *
const
actions_;
41
42
implied_free_action
(
int
nactions,
43
const
action *actions,
44
const
CoinPresolveAction
*
next
)
45
:
CoinPresolveAction
(
next
)
46
, nactions_(nactions)
47
, actions_(actions)
48
{
49
}
50
51
public
:
52
const
char
*
name
()
const
;
53
54
static
const
CoinPresolveAction
*
presolve
(
CoinPresolveMatrix
*prob,
55
const
CoinPresolveAction
*
next
,
56
int
&fillLevel);
57
58
void
postsolve
(
CoinPostsolveMatrix
*prob)
const
;
59
60
virtual
~implied_free_action
();
61
};
62
63
#endif
64
65
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
66
*/
implied_free_action::postsolve
void postsolve(CoinPostsolveMatrix *prob) const
Apply the postsolve transformation for this particular presolve action.
implied_free_action
Detect and process implied free variables.
Definition:
CoinPresolveImpliedFree.hpp:29
implied_free_action::presolve
static const CoinPresolveAction * presolve(CoinPresolveMatrix *prob, const CoinPresolveAction *next, int &fillLevel)
CoinPresolveAction
Abstract base class of all presolve routines.
Definition:
CoinPresolveMatrix.hpp:163
implied_free_action::name
const char * name() const
A name for debug printing.
CoinPresolveAction::CoinPresolveAction
CoinPresolveAction(const CoinPresolveAction *next)
Construct a postsolve object and add it to the transformation list.
Definition:
CoinPresolveMatrix.hpp:187
CoinPresolveAction::next
const CoinPresolveAction * next
The next presolve transformation.
Definition:
CoinPresolveMatrix.hpp:180
CoinPostsolveMatrix
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during postsol...
Definition:
CoinPresolveMatrix.hpp:1554
CoinPresolveMatrix
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during presolv...
Definition:
CoinPresolveMatrix.hpp:907
implied_free_action::~implied_free_action
virtual ~implied_free_action()
Generated by
1.8.14