Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM< R >::ElementCompare Struct Reference

comparator for class SVectorBase<R>::Element: compare nonzeros according to value More...

Public Member Functions

 ElementCompare (R eps)
 
int operator() (const typename SVectorBase< R >::Element &e1, const typename SVectorBase< R >::Element &e2) const
 

Public Attributes

epsiloncompare
 

Detailed Description

template<class R>
struct soplex::SPxMainSM< R >::ElementCompare

comparator for class SVectorBase<R>::Element: compare nonzeros according to value

Definition at line 1624 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ ElementCompare()

ElementCompare ( eps)

Definition at line 1629 of file spxmainsm.h.

Member Function Documentation

◆ operator()()

int operator() ( const typename SVectorBase< R >::Element &  e1,
const typename SVectorBase< R >::Element &  e2 
) const

Definition at line 1634 of file spxmainsm.h.

References soplex::EQ(), and Nonzero< R >::val.

Member Data Documentation

◆ epsiloncompare

R epsiloncompare

Definition at line 1627 of file spxmainsm.h.