CoinUtils  trunk
Classes | Public Member Functions | Static Public Member Functions
slack_doubleton_action Class Reference

Convert an explicit bound constraint to a column bound. More...

#include <CoinPresolveSingleton.hpp>

+ Inheritance diagram for slack_doubleton_action:
+ Collaboration diagram for slack_doubleton_action:

List of all members.

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_doubleton_action ()

Static Public Member Functions

static const CoinPresolveActionpresolve (CoinPresolveMatrix *prob, const CoinPresolveAction *next, bool &notFinished)
 Convert explicit bound constraints to column bounds.

Detailed Description

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.


Constructor & Destructor Documentation

virtual slack_doubleton_action::~slack_doubleton_action ( ) [inline, virtual]

Definition at line 65 of file CoinPresolveSingleton.hpp.


Member Function Documentation

const char* slack_doubleton_action::name ( ) const [inline, virtual]

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 const CoinPresolveAction* slack_doubleton_action::presolve ( CoinPresolveMatrix prob,
const CoinPresolveAction next,
bool &  notFinished 
) [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.

Apply the postsolve transformation for this particular presolve action.

Implements CoinPresolveAction.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines