|
Osi
0.108.6
|
Detect and process forcing constraints and useless constraints. More...
#include <CoinPresolveForcing.hpp>
Inheritance diagram for forcing_constraint_action:
Collaboration diagram for forcing_constraint_action:Classes | |
| struct | action |
Public Member Functions | |
| forcing_constraint_action (int nactions, const action *actions, const CoinPresolveAction *next) | |
| const char * | name () const |
| A name for debug printing. More... | |
| void | postsolve (CoinPostsolveMatrix *prob) const |
| Apply the postsolve transformation for this particular presolve action. More... | |
| virtual | ~forcing_constraint_action () |
Public Member Functions inherited from CoinPresolveAction | |
| CoinPresolveAction (const CoinPresolveAction *next) | |
| Construct a postsolve object and add it to the transformation list. More... | |
| void | setNext (const CoinPresolveAction *nextAction) |
| modify next (when building rather than passing) More... | |
| virtual | ~CoinPresolveAction () |
| Virtual destructor. More... | |
Static Public Member Functions | |
| static const CoinPresolveAction * | presolve (CoinPresolveMatrix *prob, const CoinPresolveAction *next) |
Static Public Member Functions inherited from CoinPresolveAction | |
| static void | throwCoinError (const char *error, const char *ps_routine) |
| Stub routine to throw exceptions. More... | |
Private Member Functions | |
| forcing_constraint_action () | |
| forcing_constraint_action (const forcing_constraint_action &rhs) | |
| forcing_constraint_action & | operator= (const forcing_constraint_action &rhs) |
Private Attributes | |
| const int | nactions_ |
| const action *const | actions_ |
Additional Inherited Members | |
Public Attributes inherited from CoinPresolveAction | |
| const CoinPresolveAction * | next |
| The next presolve transformation. More... | |
Detect and process forcing constraints and useless constraints.
A constraint is useless if the bounds on the variables prevent the constraint from ever being violated.
A constraint is a forcing constraint if the bounds on the constraint force the value of an involved variable to one of its bounds. A constraint can force more than one variable.
Definition at line 27 of file CoinPresolveForcing.hpp.
|
private |
|
private |
|
inline |
Definition at line 47 of file CoinPresolveForcing.hpp.
|
virtual |
|
private |
|
virtual |
A name for debug printing.
It is expected that the name is not stored in the transform itself.
Implements CoinPresolveAction.
|
static |
|
virtual |
Apply the postsolve transformation for this particular presolve action.
Implements CoinPresolveAction.
|
private |
Definition at line 42 of file CoinPresolveForcing.hpp.
|
private |
Definition at line 44 of file CoinPresolveForcing.hpp.
1.8.5