Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
var
build
temp
tmp.zNsxVc98AG
4.0-0-0
coinutils
coinutils-2.6.4
CoinUtils
src
CoinPresolveForcing.hpp
Go to the documentation of this file.
1
/* $Id: CoinPresolveForcing.hpp 1215 2009-11-05 11:03:04Z forrest $ */
2
// Copyright (C) 2002, International Business Machines
3
// Corporation and others. All Rights Reserved.
4
5
#ifndef CoinPresolveForcing_H
6
#define CoinPresolveForcing_H
7
8
#include "
CoinPresolveMatrix.hpp
"
9
14
#define IMPLIED_BOUND 7
15
26
class
forcing_constraint_action
:
public
CoinPresolveAction
{
27
forcing_constraint_action
();
28
forcing_constraint_action
(
const
forcing_constraint_action
& rhs);
29
forcing_constraint_action
&
operator=
(
const
forcing_constraint_action
& rhs);
30
public
:
31
struct
action
{
32
const
int
*
rowcols
;
33
const
double
*
bounds
;
34
int
row
;
35
int
nlo
;
36
int
nup
;
37
};
38
private
:
39
const
int
nactions_
;
40
// actions_ is owned by the class and must be deleted at destruction
41
const
action
*
const
actions_
;
42
43
public
:
44
forcing_constraint_action
(
int
nactions,
45
const
action
*actions,
46
const
CoinPresolveAction
*
next
) :
47
CoinPresolveAction
(next),
48
nactions_
(nactions),
actions_
(actions) {}
49
50
const
char
*
name
()
const
;
51
52
static
const
CoinPresolveAction
*
presolve
(
CoinPresolveMatrix
* prob,
53
const
CoinPresolveAction
*
next
);
54
55
void
postsolve
(
CoinPostsolveMatrix
*prob)
const
;
56
57
~forcing_constraint_action
();
58
};
59
60
#endif
Generated on Mon Mar 17 2014 20:16:57 by
1.8.1.2