Convert an explicit bound constraint to a column bound. More...
#include <CoinPresolveSingleton.hpp>
Classes | |
struct | action |
Public Member Functions | |
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 | ~slack_doubleton_action () |
![]() | |
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, bool ¬Finished) |
Convert explicit bound constraints to column bounds. More... | |
![]() | |
static void | throwCoinError (const char *error, const char *ps_routine) |
Stub routine to throw exceptions. More... | |
Private Member Functions | |
slack_doubleton_action (int nactions, const action *actions, const CoinPresolveAction *next) | |
Private Attributes | |
const int | nactions_ |
const action *const | actions_ |
Additional Inherited Members | |
![]() | |
const CoinPresolveAction * | next |
The next presolve transformation. More... | |
Convert an explicit bound constraint to a column bound.
This transform looks for explicit bound constraints for a variable and transfers the bound to the appropriate column bound array. The constraint is removed from the constraint system.
Definition at line 24 of file CoinPresolveSingleton.hpp.
|
inlineprivate |
Definition at line 41 of file CoinPresolveSingleton.hpp.
|
inlinevirtual |
Definition at line 65 of file CoinPresolveSingleton.hpp.
|
inlinevirtual |
A name for debug printing.
It is expected that the name is not stored in the transform itself.
Implements CoinPresolveAction.
Definition at line 50 of file CoinPresolveSingleton.hpp.
|
static |
Convert explicit bound constraints to column bounds.
Not now There is a hard limit (#MAX_SLACK_DOUBLETONS) on the number of constraints processed in a given call. notFinished
is set to true if candidates remain.
|
virtual |
Apply the postsolve transformation for this particular presolve action.
Implements CoinPresolveAction.
|
private |
Definition at line 38 of file CoinPresolveSingleton.hpp.
|
private |
Definition at line 39 of file CoinPresolveSingleton.hpp.