Cgl 0.60.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CoinPresolveTripleton.hpp
Go to the documentation of this file.
1 /* $Id: CoinPresolveTripleton.hpp 2083 2019-01-06 19:38:09Z unxusr $ */
2 // Copyright (C) 2003, 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 CoinPresolveTripleton_H
7 #define CoinPresolveTripleton_H
8 #define TRIPLETON 11
9
15 class tripleton_action : public CoinPresolveAction {
16 public:
17 struct action {
18 int icolx;
19 int icolz;
20 int row;
21
22 int icoly;
23 double cloy;
24 double cupy;
25 double costy;
26 double clox;
27 double cupx;
28 double costx;
29
30 double rlo;
31 double rup;
32
33 double coeffx;
34 double coeffy;
35 double coeffz;
36
37 double *colel;
38
39 int ncolx;
40 int ncoly;
41 };
42
43 const int nactions_;
44 const action *const actions_;
45
46 private:
47 tripleton_action(int nactions,
48 const action *actions,
49 const CoinPresolveAction *next)
50 : CoinPresolveAction(next)
51 , nactions_(nactions)
52 , actions_(actions)
53 {
54 }
55
56 public:
57 const char *name() const { return ("tripleton_action"); }
58
59 static const CoinPresolveAction *presolve(CoinPresolveMatrix *,
60 const CoinPresolveAction *next);
61
62 void postsolve(CoinPostsolveMatrix *prob) const;
63
64 virtual ~tripleton_action();
65 };
66 #endif
67
68 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
69 */
tripleton_action::action::icolz
int icolz
Definition: CoinPresolveTripleton.hpp:19
tripleton_action::action::ncolx
int ncolx
Definition: CoinPresolveTripleton.hpp:39
tripleton_action::action::costy
double costy
Definition: CoinPresolveTripleton.hpp:25
tripleton_action::action::coeffz
double coeffz
Definition: CoinPresolveTripleton.hpp:35
tripleton_action::name
const char * name() const
A name for debug printing.
Definition: CoinPresolveTripleton.hpp:57
tripleton_action::action::coeffy
double coeffy
Definition: CoinPresolveTripleton.hpp:34
tripleton_action::presolve
static const CoinPresolveAction * presolve(CoinPresolveMatrix *, const CoinPresolveAction *next)
tripleton_action::action::row
int row
Definition: CoinPresolveTripleton.hpp:20
CoinPresolveAction
Abstract base class of all presolve routines.
Definition: CoinPresolveMatrix.hpp:163
tripleton_action::action::icolx
int icolx
Definition: CoinPresolveTripleton.hpp:18
tripleton_action::postsolve
void postsolve(CoinPostsolveMatrix *prob) const
Apply the postsolve transformation for this particular presolve action.
tripleton_action::actions_
const action *const actions_
Definition: CoinPresolveTripleton.hpp:44
tripleton_action::action::coeffx
double coeffx
Definition: CoinPresolveTripleton.hpp:33
tripleton_action::action::colel
double * colel
Definition: CoinPresolveTripleton.hpp:37
tripleton_action::action::icoly
int icoly
Definition: CoinPresolveTripleton.hpp:22
tripleton_action::action::ncoly
int ncoly
Definition: CoinPresolveTripleton.hpp:40
tripleton_action::tripleton_action
tripleton_action(int nactions, const action *actions, const CoinPresolveAction *next)
Definition: CoinPresolveTripleton.hpp:47
tripleton_action::action::cupy
double cupy
Definition: CoinPresolveTripleton.hpp:24
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:1552
tripleton_action::action::clox
double clox
Definition: CoinPresolveTripleton.hpp:26
tripleton_action::~tripleton_action
virtual ~tripleton_action()
tripleton_action::action::cupx
double cupx
Definition: CoinPresolveTripleton.hpp:27
CoinPresolveMatrix
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during presolv...
Definition: CoinPresolveMatrix.hpp:905
tripleton_action::action
Definition: CoinPresolveTripleton.hpp:17
tripleton_action::action::costx
double costx
Definition: CoinPresolveTripleton.hpp:28
tripleton_action::action::rlo
double rlo
Definition: CoinPresolveTripleton.hpp:30
tripleton_action::nactions_
const int nactions_
Definition: CoinPresolveTripleton.hpp:43
tripleton_action::action::cloy
double cloy
Definition: CoinPresolveTripleton.hpp:23
tripleton_action::action::rup
double rup
Definition: CoinPresolveTripleton.hpp:31
tripleton_action
We are only going to do this if it does not increase number of elements?.
Definition: CoinPresolveTripleton.hpp:15