CoinUtils 2.11.4
CoinPresolveTripleton.hpp
Go to the documentation of this file.
1/* $Id$ */
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
16public:
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
46private:
47 tripleton_action(int nactions,
48 const action *actions,
51 , nactions_(nactions)
52 , actions_(actions)
53 {
54 }
55
56public:
57 const char *name() const { return ("tripleton_action"); }
58
61
62 void postsolve(CoinPostsolveMatrix *prob) const;
63
65};
66#endif
67
68/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
69*/
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during postsol...
Abstract base class of all presolve routines.
const CoinPresolveAction * next
The next presolve transformation.
Augments CoinPrePostsolveMatrix with information about the problem that is only needed during presolv...
We are only going to do this if it does not increase number of elements?.
void postsolve(CoinPostsolveMatrix *prob) const
Apply the postsolve transformation for this particular presolve action.
static const CoinPresolveAction * presolve(CoinPresolveMatrix *, const CoinPresolveAction *next)
tripleton_action(int nactions, const action *actions, const CoinPresolveAction *next)
virtual ~tripleton_action()
const action *const actions_
const char * name() const
A name for debug printing.