sanity_options.hpp file
Thresholds for the data-quality (sanity) warnings of validate_planning.
validate_planning() runs a set of model-sanity checks that never reject a case: they only warn about data that is legal but almost certainly wrong (rewards above the deficit cost, profiles outside [0, 1], committed units with zero capacity, implausible line impedances, agreement reserve levels without a reservoir floor). This struct holds the tunable thresholds. Every field is optional; the effective_*() accessors supply the defaults.
JSON: {"options": {"sanity_options": {"line_xr_max": 200}}}.
Namespaces
- namespace gtopt
Classes
- struct gtopt::SanityOptions