CoinUtils 2.11.10
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
slack_singleton_action Class Reference

For variables with one entry. More...

#include <CoinPresolveSingleton.hpp>

+ Inheritance diagram for slack_singleton_action:
+ Collaboration diagram for slack_singleton_action:

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.
 
virtual ~slack_singleton_action ()
 
- Public Member Functions inherited from CoinPresolveAction
 CoinPresolveAction (const CoinPresolveAction *next)
 Construct a postsolve object and add it to the transformation list.
 
void setNext (const CoinPresolveAction *nextAction)
 modify next (when building rather than passing)
 
virtual ~CoinPresolveAction ()
 Virtual destructor.
 

Static Public Member Functions

static const CoinPresolveActionpresolve (CoinPresolveMatrix *prob, const CoinPresolveAction *next, double *rowObjective)
 
- Static Public Member Functions inherited from CoinPresolveAction
static void throwCoinError (const char *error, const char *ps_routine)
 Stub routine to throw exceptions.
 

Private Member Functions

 slack_singleton_action (int nactions, const action *actions, const CoinPresolveAction *next)
 

Private Attributes

const int nactions_
 
const action *const actions_
 

Additional Inherited Members

- Public Attributes inherited from CoinPresolveAction
const CoinPresolveActionnext
 The next presolve transformation.
 

Detailed Description

For variables with one entry.

If we have a variable with one entry and no cost then we can transform the row from E to G etc. If there is a row objective region then we may be able to do this even with a cost.

Definition at line 75 of file CoinPresolveSingleton.hpp.

Constructor & Destructor Documentation

◆ slack_singleton_action()

slack_singleton_action::slack_singleton_action ( int nactions,
const action * actions,
const CoinPresolveAction * next )
inlineprivate

Definition at line 92 of file CoinPresolveSingleton.hpp.

◆ ~slack_singleton_action()

virtual slack_singleton_action::~slack_singleton_action ( )
inlinevirtual

Definition at line 110 of file CoinPresolveSingleton.hpp.

Member Function Documentation

◆ name()

const char * slack_singleton_action::name ( ) const
inlinevirtual

A name for debug printing.

It is expected that the name is not stored in the transform itself.

Implements CoinPresolveAction.

Definition at line 102 of file CoinPresolveSingleton.hpp.

◆ presolve()

static const CoinPresolveAction * slack_singleton_action::presolve ( CoinPresolveMatrix * prob,
const CoinPresolveAction * next,
double * rowObjective )
static

◆ postsolve()

void slack_singleton_action::postsolve ( CoinPostsolveMatrix * prob) const
virtual

Apply the postsolve transformation for this particular presolve action.

Implements CoinPresolveAction.

Member Data Documentation

◆ nactions_

const int slack_singleton_action::nactions_
private

Definition at line 89 of file CoinPresolveSingleton.hpp.

◆ actions_

const action* const slack_singleton_action::actions_
private

Definition at line 90 of file CoinPresolveSingleton.hpp.


The documentation for this class was generated from the following file: