CoinUtils 2.11.13
Loading...
Searching...
No Matches
do_tighten_action Class Reference

#include <CoinPresolveTighten.hpp>

Inheritance diagram for do_tighten_action:
Collaboration diagram for do_tighten_action:

Classes

struct  action

Public Member Functions

const char * name () const
 Construct a postsolve object and add it to the transformation list.
void postsolve (CoinPostsolveMatrix *prob) const
 Apply the postsolve transformation for this particular presolve action.
virtual ~do_tighten_action ()
Public Member Functions inherited from CoinPresolveAction
virtual ~CoinPresolveAction ()
 Virtual destructor.

Static Public Member Functions

static const CoinPresolveActionpresolve (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.

Private Member Functions

 do_tighten_action ()
 do_tighten_action (const do_tighten_action &rhs)
do_tighten_actionoperator= (const do_tighten_action &rhs)
 do_tighten_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

Definition at line 19 of file CoinPresolveTighten.hpp.

Constructor & Destructor Documentation

◆ do_tighten_action() [1/3]

do_tighten_action::do_tighten_action ( )
private

◆ do_tighten_action() [2/3]

do_tighten_action::do_tighten_action ( const do_tighten_action & rhs)
private

◆ do_tighten_action() [3/3]

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

Definition at line 36 of file CoinPresolveTighten.hpp.

◆ ~do_tighten_action()

virtual do_tighten_action::~do_tighten_action ( )
virtual

Member Function Documentation

◆ operator=()

do_tighten_action & do_tighten_action::operator= ( const do_tighten_action & rhs)
private

◆ name()

const char * do_tighten_action::name ( ) const
virtual

Construct a postsolve object and add it to the transformation list.

This is an `add to head' operation. This object will point to the one passed as the parameter. */ CoinPresolveAction(const CoinPresolveAction *next) : next(next) { } modify next (when building rather than passing) inline void setNext(const CoinPresolveAction *nextAction) { next = nextAction; }

/*! A name for debug printing.

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

Implements CoinPresolveAction.

◆ presolve()

const CoinPresolveAction * do_tighten_action::presolve ( CoinPresolveMatrix * prob,
const CoinPresolveAction * next )
static

◆ postsolve()

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

Apply the postsolve transformation for this particular presolve action.

Implements CoinPresolveAction.

Member Data Documentation

◆ nactions_

const int do_tighten_action::nactions_
private

Definition at line 33 of file CoinPresolveTighten.hpp.

◆ actions_

const action* const do_tighten_action::actions_
private

Definition at line 34 of file CoinPresolveTighten.hpp.


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