CoinUtils 2.11.4
CoinPresolveDual.hpp
Go to the documentation of this file.
1/* $Id$ */
2
3// Copyright (C) 2002, International Business Machines
4// Corporation and others. All Rights Reserved.
5// This code is licensed under the terms of the Eclipse Public License (EPL).
6
7#ifndef CoinPresolveDual_H
8#define CoinPresolveDual_H
9
36
37public:
40
42 inline const char *name() const { return ("remove_dual_action"); }
43
51
57 void postsolve(CoinPostsolveMatrix *prob) const;
58
59private:
61 struct action {
62 double rlo_;
63 double rup_;
64 int ndx_;
65 };
66
68 remove_dual_action(int nactions, const action *actions,
71 , nactions_(nactions)
72 , actions_(actions)
73 {
74 }
75
77 const int nactions_;
80};
81#endif
82
83/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
84*/
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...
Attempt to fix variables by bounding reduced costs.
const int nactions_
Count of bound restore entries.
remove_dual_action(int nactions, const action *actions, const CoinPresolveAction *next)
Constructor with postsolve actions.
void postsolve(CoinPostsolveMatrix *prob) const
Postsolve.
~remove_dual_action()
Destructor.
static const CoinPresolveAction * presolve(CoinPresolveMatrix *prob, const CoinPresolveAction *next)
Attempt to fix variables by bounding reduced costs.
const action * actions_
Bound restore entries.
const char * name() const
Name.
Postsolve (bound restore) instruction.
double rup_
restored row upper bound
double rlo_
restored row lower bound