#include <CoinPresolveUseless.hpp>
Definition at line 10 of file CoinPresolveUseless.hpp.
◆ useless_constraint_action() [1/2]
useless_constraint_action::useless_constraint_action |
( |
int |
nactions, |
|
|
const action * |
actions, |
|
|
const CoinPresolveAction * |
next |
|
) |
| |
|
private |
◆ ~useless_constraint_action() [1/2]
virtual useless_constraint_action::~useless_constraint_action |
( |
| ) |
|
|
virtual |
◆ useless_constraint_action() [2/2]
useless_constraint_action::useless_constraint_action |
( |
int |
nactions, |
|
|
const action * |
actions, |
|
|
const CoinPresolveAction * |
next |
|
) |
| |
|
private |
◆ ~useless_constraint_action() [2/2]
virtual useless_constraint_action::~useless_constraint_action |
( |
| ) |
|
|
virtual |
◆ name() [1/2]
const char* useless_constraint_action::name |
( |
| ) |
const |
|
virtual |
A name for debug printing.
It is expected that the name is not stored in the transform itself.
Implements CoinPresolveAction.
◆ presolve() [1/2]
◆ postsolve() [1/2]
Apply the postsolve transformation for this particular presolve action.
Implements CoinPresolveAction.
◆ name() [2/2]
const char* useless_constraint_action::name |
( |
| ) |
const |
|
virtual |
A name for debug printing.
It is expected that the name is not stored in the transform itself.
Implements CoinPresolveAction.
◆ presolve() [2/2]
◆ postsolve() [2/2]
Apply the postsolve transformation for this particular presolve action.
Implements CoinPresolveAction.
◆ testRedundant()
Scan constraints looking for useless constraints.
A front end to identify useless constraints and hand them to useless_constraint_action::presolve() for processing.
In a bit more detail, the routine implements a greedy algorithm that identifies a set of necessary constraints. A constraint is necessary if it implies a tighter bound on a variable than the original column bound. These tighter column bounds are then used to calculate row activity and identify constraints that are useless given the presence of the necessary constraints.
◆ nactions_
const int useless_constraint_action::nactions_ |
|
private |
◆ actions_
const action *const useless_constraint_action::actions_ |
|
private |
The documentation for this class was generated from the following file: