We are only going to do this if it does not increase number of elements?. More...
#include <CoinPresolveTripleton.hpp>
Classes | |
struct | action |
Public Member Functions | |
const char * | name () const |
A name for debug printing. | |
void | postsolve (CoinPostsolveMatrix *prob) const |
Apply the postsolve transformation for this particular presolve action. | |
~tripleton_action () | |
Static Public Member Functions | |
static const CoinPresolveAction * | presolve (CoinPresolveMatrix *, const CoinPresolveAction *next) |
Public Attributes | |
const int | nactions_ |
const action *const | actions_ |
Private Member Functions | |
tripleton_action (int nactions, const action *actions, const CoinPresolveAction *next) |
We are only going to do this if it does not increase number of elements?.
It could be generalized to more than three but it seems unlikely it would help.
As it is adapted from doubleton icoly is one dropped.
Definition at line 12 of file CoinPresolveTripleton.hpp.
tripleton_action::tripleton_action | ( | int | nactions, | |
const action * | actions, | |||
const CoinPresolveAction * | next | |||
) | [inline, private] |
Definition at line 44 of file CoinPresolveTripleton.hpp.
tripleton_action::~tripleton_action | ( | ) |
const char* tripleton_action::name | ( | ) | const [inline, virtual] |
A name for debug printing.
It is expected that the name is not stored in the transform itself.
Implements CoinPresolveAction.
Definition at line 52 of file CoinPresolveTripleton.hpp.
static const CoinPresolveAction* tripleton_action::presolve | ( | CoinPresolveMatrix * | , | |
const CoinPresolveAction * | next | |||
) | [static] |
void tripleton_action::postsolve | ( | CoinPostsolveMatrix * | prob | ) | const [virtual] |
Apply the postsolve transformation for this particular presolve action.
Implements CoinPresolveAction.
const int tripleton_action::nactions_ |
Definition at line 40 of file CoinPresolveTripleton.hpp.
const action* const tripleton_action::actions_ |
Definition at line 41 of file CoinPresolveTripleton.hpp.