Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM::IdxCompare Struct Reference

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

Public Member Functions

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

Detailed Description

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

Definition at line 1656 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ IdxCompare()

Definition at line 1659 of file spxmainsm.h.

Member Function Documentation

◆ operator()()

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

Definition at line 1661 of file spxmainsm.h.

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