Scippy

SoPlex

Sequential object-oriented simPlex

Compare Struct Reference

Compare class for row weights, used for sorting. More...

Public Member Functions

 Compare ()
 constructor More...
 
Real operator() (int i1, int i2) const
 compares the weights More...
 

Public Attributes

const Realweight
 the weights to compare More...
 

Detailed Description

Compare class for row weights, used for sorting.

Definition at line 135 of file spxweightst.cpp.

Constructor & Destructor Documentation

◆ Compare()

Compare ( )

constructor

Definition at line 139 of file spxweightst.cpp.

Member Function Documentation

◆ operator()()

Real operator() ( int  i1,
int  i2 
) const

compares the weights

Definition at line 144 of file spxweightst.cpp.

Member Data Documentation

◆ weight

const Real* weight

the weights to compare

Definition at line 141 of file spxweightst.cpp.

Referenced by soplex::initPrefs().