CoinUtils  trunk
Public Member Functions | Static Public Member Functions
drop_zero_coefficients_action Class Reference

Removal of explicit zeros. More...

#include <CoinPresolveZeros.hpp>

+ Inheritance diagram for drop_zero_coefficients_action:
+ Collaboration diagram for drop_zero_coefficients_action:

List of all members.

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 ~drop_zero_coefficients_action ()

Static Public Member Functions

static const CoinPresolveActionpresolve (CoinPresolveMatrix *prob, int *checkcols, int ncheckcols, const CoinPresolveAction *next)

Detailed Description

Removal of explicit zeros.

The presolve action for this class removes explicit zeros from the constraint matrix. The postsolve action puts them back.

Definition at line 32 of file CoinPresolveZeros.hpp.


Constructor & Destructor Documentation

Definition at line 54 of file CoinPresolveZeros.hpp.


Member Function Documentation

const char* drop_zero_coefficients_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 45 of file CoinPresolveZeros.hpp.

static const CoinPresolveAction* drop_zero_coefficients_action::presolve ( CoinPresolveMatrix prob,
int *  checkcols,
int  ncheckcols,
const CoinPresolveAction next 
) [static]

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