CoinUtils
2.11.13
Toggle main menu visibility
Loading...
Searching...
No Matches
CoinUtils
src
CoinPresolveIsolated.hpp
Go to the documentation of this file.
1
/* $Id$ */
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 CoinPresolveIsolated_H
7
#define CoinPresolveIsolated_H
8
9
#include "
CoinPresolveMatrix.hpp
"
10
11
class
isolated_constraint_action
:
public
CoinPresolveAction
{
12
isolated_constraint_action
();
13
isolated_constraint_action
(
const
isolated_constraint_action
&rhs);
14
isolated_constraint_action
&
operator=
(
const
isolated_constraint_action
&rhs);
15
16
double
rlo_
;
17
double
rup_
;
18
int
row_
;
19
int
ninrow_
;
20
// the arrays are owned by the class and must be deleted at destruction
21
const
int
*
rowcols_
;
22
const
double
*
rowels_
;
23
const
double
*
costs_
;
24
25
isolated_constraint_action
(
double
rlo,
26
double
rup,
27
int
row,
28
int
ninrow,
29
const
int
*rowcols,
30
const
double
*rowels,
31
const
double
*costs,
32
const
CoinPresolveAction
*
next
)
33
:
CoinPresolveAction
(
next
)
34
,
rlo_
(rlo)
35
,
rup_
(rup)
36
,
row_
(row)
37
,
ninrow_
(ninrow)
38
,
rowcols_
(rowcols)
39
,
rowels_
(rowels)
40
,
costs_
(costs)
41
{
42
}
43
44
public
:
45
const
char
*
name
()
const
;
46
47
static
const
CoinPresolveAction
*
presolve
(
CoinPresolveMatrix
*prob,
48
int
row,
49
const
CoinPresolveAction
*
next
);
50
51
void
postsolve
(
CoinPostsolveMatrix
*prob)
const
;
52
53
virtual
~isolated_constraint_action
();
54
};
55
56
#endif
57
58
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
59
*/
CoinPresolveMatrix.hpp
Declarations for CoinPresolveMatrix and CoinPostsolveMatrix and their common base class CoinPrePostso...
CoinPostsolveMatrix
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during postsol...
Definition
CoinPresolveMatrix.hpp:1552
CoinPresolveAction
Abstract base class of all presolve routines.
Definition
CoinPresolveMatrix.hpp:163
CoinPresolveAction::next
const CoinPresolveAction * next
The next presolve transformation.
Definition
CoinPresolveMatrix.hpp:180
CoinPresolveMatrix
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during presolv...
Definition
CoinPresolveMatrix.hpp:905
isolated_constraint_action::costs_
const double * costs_
Definition
CoinPresolveIsolated.hpp:23
isolated_constraint_action::ninrow_
int ninrow_
Definition
CoinPresolveIsolated.hpp:19
isolated_constraint_action::rup_
double rup_
Definition
CoinPresolveIsolated.hpp:17
isolated_constraint_action::~isolated_constraint_action
virtual ~isolated_constraint_action()
isolated_constraint_action::postsolve
void postsolve(CoinPostsolveMatrix *prob) const
Apply the postsolve transformation for this particular presolve action.
isolated_constraint_action::rlo_
double rlo_
Definition
CoinPresolveIsolated.hpp:16
isolated_constraint_action::rowels_
const double * rowels_
Definition
CoinPresolveIsolated.hpp:22
isolated_constraint_action::isolated_constraint_action
isolated_constraint_action(double rlo, double rup, int row, int ninrow, const int *rowcols, const double *rowels, const double *costs, const CoinPresolveAction *next)
Definition
CoinPresolveIsolated.hpp:25
isolated_constraint_action::isolated_constraint_action
isolated_constraint_action(const isolated_constraint_action &rhs)
isolated_constraint_action::rowcols_
const int * rowcols_
Definition
CoinPresolveIsolated.hpp:21
isolated_constraint_action::presolve
static const CoinPresolveAction * presolve(CoinPresolveMatrix *prob, int row, const CoinPresolveAction *next)
isolated_constraint_action::row_
int row_
Definition
CoinPresolveIsolated.hpp:18
isolated_constraint_action::isolated_constraint_action
isolated_constraint_action()
isolated_constraint_action::operator=
isolated_constraint_action & operator=(const isolated_constraint_action &rhs)
isolated_constraint_action::name
const char * name() const
Construct a postsolve object and add it to the transformation list.
Generated by
1.17.0