Detect interesting 2 by 2 blocks. More...
#include <CoinPresolveDupcol.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... | |
~twoxtwo_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) |
![]() | |
static void | throwCoinError (const char *error, const char *ps_routine) |
Stub routine to throw exceptions. More... | |
Private Member Functions | |
twoxtwo_action () | |
twoxtwo_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... | |
Detect interesting 2 by 2 blocks.
If a variable has two entries and for each row there are only two entries with same other variable then we can get rid of one constraint and modify costs.
This is a work in progress - I need more examples
Definition at line 191 of file CoinPresolveDupcol.hpp.
|
inlineprivate |
Definition at line 207 of file CoinPresolveDupcol.hpp.
|
inlineprivate |
Definition at line 208 of file CoinPresolveDupcol.hpp.
|
inline |
Definition at line 222 of file CoinPresolveDupcol.hpp.
|
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 204 of file CoinPresolveDupcol.hpp.
|
private |
Definition at line 205 of file CoinPresolveDupcol.hpp.