Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
opt
build
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
forcing_constraint_action::actions_
const action *const actions_
Definition:
CoinPresolveForcing.hpp:41
forcing_constraint_action::forcing_constraint_action
forcing_constraint_action()
CoinPostsolveMatrix
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during postsol...
Definition:
CoinPresolveMatrix.hpp:1307
CoinPresolveMatrix
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during presolv...
Definition:
CoinPresolveMatrix.hpp:773
forcing_constraint_action::action
Definition:
CoinPresolveForcing.hpp:31
forcing_constraint_action::action::bounds
const double * bounds
Definition:
CoinPresolveForcing.hpp:33
forcing_constraint_action::action::row
int row
Definition:
CoinPresolveForcing.hpp:34
forcing_constraint_action::name
const char * name() const
A name for debug printing.
forcing_constraint_action::forcing_constraint_action
forcing_constraint_action(int nactions, const action *actions, const CoinPresolveAction *next)
Definition:
CoinPresolveForcing.hpp:44
forcing_constraint_action::postsolve
void postsolve(CoinPostsolveMatrix *prob) const
Apply the postsolve transformation for this particular presolve action.
CoinPresolveAction
Abstract base class of all presolve routines.
Definition:
CoinPresolveMatrix.hpp:133
forcing_constraint_action::action::nup
int nup
Definition:
CoinPresolveForcing.hpp:36
CoinPresolveMatrix.hpp
forcing_constraint_action::nactions_
const int nactions_
Definition:
CoinPresolveForcing.hpp:39
forcing_constraint_action::action::nlo
int nlo
Definition:
CoinPresolveForcing.hpp:35
forcing_constraint_action::action::rowcols
const int * rowcols
Definition:
CoinPresolveForcing.hpp:32
forcing_constraint_action::operator=
forcing_constraint_action & operator=(const forcing_constraint_action &rhs)
forcing_constraint_action::presolve
static const CoinPresolveAction * presolve(CoinPresolveMatrix *prob, const CoinPresolveAction *next)
forcing_constraint_action
Detect and process forcing constraints and useless constraints.
Definition:
CoinPresolveForcing.hpp:26
forcing_constraint_action::~forcing_constraint_action
~forcing_constraint_action()
CoinPresolveAction::next
const CoinPresolveAction * next
The next presolve transformation.
Definition:
CoinPresolveMatrix.hpp:150
Generated on Sun Feb 21 2016 03:15:09 by
1.8.7