Loading...
Searching...
No Matches
idol::Tolerance Namespace Reference

Variables

static double Sparsity = 1e-8
static unsigned int Digits = 8

Detailed Description

Stores the default high-level tolerances used in idol.

It is possible for external-mip to have additional tolerance parameters, yet, the tolerances defined in this namespace should always be taken into account by the optimizer. Apart from the Sparsity tolerance, users can also change tolerance values at a local level (i.e., at an optimizer level) rather than at a global level.

Variable Documentation

◆ Digits

unsigned int idol::Tolerance::Digits = 8
static

Definition at line 39 of file numericals.h.

◆ Sparsity

double idol::Tolerance::Sparsity = 1e-8
static

Default: \( 10^{-8} \)

Recommended range: \( [ 10^{-10}, 10^{-5} ] \)

This tolerance is used when data is saved in a sparse manner. For instance, when a value close to zero should be stored or ignored when saving a primal point.

Definition at line 37 of file numericals.h.