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 134 of file spxweightst.cpp.

Constructor & Destructor Documentation

◆ Compare()

Compare ( )

constructor

Definition at line 138 of file spxweightst.cpp.

Member Function Documentation

◆ operator()()

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

compares the weights

Definition at line 143 of file spxweightst.cpp.

Member Data Documentation

◆ weight

const Real* weight

the weights to compare

Definition at line 140 of file spxweightst.cpp.

Referenced by soplex::initPrefs().