gtopt/solver_status.hpp file

Solver monitoring API: write iteration status to a JSON file.

Provides the write_solver_status() free function that serialises solver iteration history and real-time workpool statistics into a JSON file for external monitoring tools (e.g. scripts/gtopt_monitor.py).

Extracted from SDDPMethod::write_api_status() to decouple the monitoring serialisation logic from the solver class.

Namespaces

namespace gtopt

Classes

struct gtopt::SolverStatusSnapshot