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 ()
 
int operator() (const typename SVectorBase< R >::Element &e1, const typename SVectorBase< R >::Element &e2) const
 

Detailed Description

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

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

Definition at line 1615 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ ElementCompare()

Definition at line 1618 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 1620 of file spxmainsm.h.

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