Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
opt
build
coinutils
coinutils-2.6.4
CoinUtils
src
CoinPresolveIsolated.hpp
Go to the documentation of this file.
1
/* $Id: CoinPresolveIsolated.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 CoinPresolveIsolated_H
6
#define CoinPresolveIsolated_H
7
8
#include "
CoinPresolveMatrix.hpp
"
9
10
class
isolated_constraint_action
:
public
CoinPresolveAction
{
11
isolated_constraint_action
();
12
isolated_constraint_action
(
const
isolated_constraint_action
& rhs);
13
isolated_constraint_action
&
operator=
(
const
isolated_constraint_action
& rhs);
14
15
double
rlo_
;
16
double
rup_
;
17
int
row_
;
18
int
ninrow_
;
19
// the arrays are owned by the class and must be deleted at destruction
20
const
int
*
rowcols_
;
21
const
double
*
rowels_
;
22
const
double
*
costs_
;
23
24
isolated_constraint_action
(
double
rlo,
25
double
rup,
26
int
row,
27
int
ninrow,
28
const
int
*rowcols,
29
const
double
*rowels,
30
const
double
*costs,
31
const
CoinPresolveAction
*
next
) :
32
CoinPresolveAction
(next),
33
rlo_
(rlo),
rup_
(rup),
row_
(row),
ninrow_
(ninrow),
34
rowcols_
(rowcols),
rowels_
(rowels),
costs_
(costs) {}
35
36
public
:
37
const
char
*
name
()
const
;
38
39
static
const
CoinPresolveAction
*
presolve
(
CoinPresolveMatrix
* prob,
40
int
row,
41
const
CoinPresolveAction
*
next
);
42
43
void
postsolve
(
CoinPostsolveMatrix
*prob)
const
;
44
45
~isolated_constraint_action
();
46
};
47
48
49
50
#endif
Generated on Tue Mar 1 2016 22:31:56 by
1.8.4