#include <spxdefines.h>
Public Member Functions | |
Tolerances () | |
Access / modification | |
Real | epsilon () |
global zero epsilon More... | |
void | setEpsilon (Real eps) |
set global zero epsilon More... | |
Real | epsilonFactorization () |
zero espilon used in factorization More... | |
void | setEpsilonFactorization (Real eps) |
set zero espilon used in factorization More... | |
Real | epsilonUpdate () |
zero espilon used in factorization update More... | |
void | setEpsilonUpdate (Real eps) |
set zero espilon used in factorization update More... | |
Real | epsilonPivot () |
zero espilon used in pivot More... | |
void | setEpsilonPivot (Real eps) |
set zero espilon used in pivot More... | |
Real | feastol () |
global feasibility tolerance More... | |
void | setFeastol (Real ftol) |
set global feasibility tolerance More... | |
Real | opttol () |
global optimality tolerance More... | |
void | setOpttol (Real otol) |
set global optimality tolerance More... | |
Real | floatingPointFeastol () |
floating point feasibility tolerance used within the solver More... | |
void | setFloatingPointFeastol (Real ftol) |
set floating point feasibility tolerance used within the solver More... | |
Real | floatingPointOpttol () |
floating point optimality tolerance used within the solver More... | |
void | setFloatingPointOpttol (Real otol) |
set floating point optimality tolerance used within the solver More... | |
Real | scaleAccordingToEpsilon (Real a) |
scale a value such that it remains unchanged at default epsilon, but is scaled withs smaller epsilon values this is updated in setEpsilon() More... | |
Private Attributes | |
Data | |
Real | s_epsilon |
default allowed additive zero: 1.0 + EPS_ZERO == 1.0 More... | |
Real | s_epsilon_factorization |
epsilon for factorization More... | |
Real | s_epsilon_update |
epsilon for factorization update More... | |
Real | s_epsilon_pivot |
epsilon for pivot zero tolerance in factorization More... | |
Real | s_feastol |
feasibility tolerance More... | |
Real | s_opttol |
optimality tolerance More... | |
Real | s_floating_point_feastol |
floating point feasibility tolerance More... | |
Real | s_floating_point_opttol |
floating point optimality tolerance More... | |
Real | s_epsilon_multiplier |
multiplier for fixed numbers that should change if s_epsilon changes More... | |
Definition at line 304 of file spxdefines.h.
|
explicit |
Definition at line 334 of file spxdefines.h.
Real epsilon | ( | ) |
Real epsilonFactorization | ( | ) |
zero espilon used in factorization
Definition at line 68 of file spxdefines.cpp.
References Tolerances::s_epsilon_factorization.
Real epsilonPivot | ( | ) |
zero espilon used in pivot
Definition at line 89 of file spxdefines.cpp.
References Tolerances::s_epsilon_pivot.
Real epsilonUpdate | ( | ) |
zero espilon used in factorization update
Definition at line 79 of file spxdefines.cpp.
References Tolerances::s_epsilon_update.
Real feastol | ( | ) |
global feasibility tolerance
Definition at line 99 of file spxdefines.cpp.
References Tolerances::s_feastol.
Real floatingPointFeastol | ( | ) |
floating point feasibility tolerance used within the solver
Definition at line 119 of file spxdefines.cpp.
References Tolerances::s_floating_point_feastol.
Real floatingPointOpttol | ( | ) |
floating point optimality tolerance used within the solver
Definition at line 129 of file spxdefines.cpp.
References Tolerances::s_floating_point_opttol.
Real opttol | ( | ) |
global optimality tolerance
Definition at line 109 of file spxdefines.cpp.
References Tolerances::s_opttol.
scale a value such that it remains unchanged at default epsilon, but is scaled withs smaller epsilon values this is updated in setEpsilon()
Definition at line 380 of file spxdefines.h.
References Tolerances::s_epsilon_multiplier.
void setEpsilon | ( | Real | eps | ) |
set global zero epsilon
Definition at line 61 of file spxdefines.cpp.
References Tolerances::s_epsilon, Tolerances::s_epsilon_multiplier, and SOPLEX_DEFAULT_EPS_ZERO.
void setEpsilonFactorization | ( | Real | eps | ) |
set zero espilon used in factorization
Definition at line 73 of file spxdefines.cpp.
References Tolerances::s_epsilon_factorization.
void setEpsilonPivot | ( | Real | eps | ) |
set zero espilon used in pivot
Definition at line 94 of file spxdefines.cpp.
References Tolerances::s_epsilon_pivot.
void setEpsilonUpdate | ( | Real | eps | ) |
set zero espilon used in factorization update
Definition at line 84 of file spxdefines.cpp.
References Tolerances::s_epsilon_update.
void setFeastol | ( | Real | ftol | ) |
set global feasibility tolerance
Definition at line 104 of file spxdefines.cpp.
References Tolerances::s_feastol.
void setFloatingPointFeastol | ( | Real | ftol | ) |
set floating point feasibility tolerance used within the solver
Definition at line 124 of file spxdefines.cpp.
References Tolerances::s_floating_point_feastol.
void setFloatingPointOpttol | ( | Real | otol | ) |
set floating point optimality tolerance used within the solver
Definition at line 134 of file spxdefines.cpp.
References Tolerances::s_floating_point_opttol.
void setOpttol | ( | Real | otol | ) |
set global optimality tolerance
Definition at line 114 of file spxdefines.cpp.
References Tolerances::s_opttol.
|
private |
default allowed additive zero: 1.0 + EPS_ZERO == 1.0
Definition at line 312 of file spxdefines.h.
Referenced by Tolerances::epsilon(), and Tolerances::setEpsilon().
|
private |
epsilon for factorization
Definition at line 314 of file spxdefines.h.
Referenced by Tolerances::epsilonFactorization(), and Tolerances::setEpsilonFactorization().
|
private |
multiplier for fixed numbers that should change if s_epsilon changes
Definition at line 328 of file spxdefines.h.
Referenced by Tolerances::scaleAccordingToEpsilon(), and Tolerances::setEpsilon().
|
private |
epsilon for pivot zero tolerance in factorization
Definition at line 318 of file spxdefines.h.
Referenced by Tolerances::epsilonPivot(), and Tolerances::setEpsilonPivot().
|
private |
epsilon for factorization update
Definition at line 316 of file spxdefines.h.
Referenced by Tolerances::epsilonUpdate(), and Tolerances::setEpsilonUpdate().
|
private |
feasibility tolerance
Definition at line 320 of file spxdefines.h.
Referenced by Tolerances::feastol(), and Tolerances::setFeastol().
|
private |
floating point feasibility tolerance
Definition at line 324 of file spxdefines.h.
Referenced by Tolerances::floatingPointFeastol(), and Tolerances::setFloatingPointFeastol().
|
private |
floating point optimality tolerance
Definition at line 326 of file spxdefines.h.
Referenced by Tolerances::floatingPointOpttol(), and Tolerances::setFloatingPointOpttol().
|
private |
optimality tolerance
Definition at line 322 of file spxdefines.h.
Referenced by Tolerances::opttol(), and Tolerances::setOpttol().