Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM::ElementCompare Struct Reference

comparator for class SVector::Element: compare nonzeros according to value More...

Public Member Functions

 ElementCompare ()
 
int operator() (const SVector::Element &e1, const SVector::Element &e2) const
 

Detailed Description

comparator for class SVector::Element: compare nonzeros according to value

Definition at line 1639 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ ElementCompare()

Definition at line 1642 of file spxmainsm.h.

Member Function Documentation

◆ operator()()

int operator() ( const SVector::Element e1,
const SVector::Element e2 
) const

Definition at line 1644 of file spxmainsm.h.

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