source/validate_planning_sanity.cpp file

Data-quality (sanity) warnings for a parsed Planning object.

Implements check_model_sanity(): checks on data that is legal (the LP builds and solves) but almost certainly wrong. They never add errors. Each category emits ONE summary warning (count + top offenders); the per-element details go to the debug log.

Only inline values are inspected: file-backed schedules (FileSched) resolve at LP-build time and are skipped, as everywhere else in validate_planning. The Python converters run the same checks on the written Parquet files (gtopt_shared.sanity_report).

Namespaces

namespace gtopt