gtopt/json/json_solver_options.hpp file

JSON serialization for LP solver options.

This module provides JSON serialization/deserialization for the SolverOptions structure, allowing LP solver options to be saved and loaded in JSON format.

All fields are nullable in JSON (missing ≡ use C++ default). A custom constructor_t converts the std::optional parse results back to non-optional SolverOptions members via value_or().

Namespaces

namespace daw
namespace daw::json

Classes

template<>
struct daw::json::json_data_contract<SolverOptions>
struct daw::json::SolverOptionsConstructor
Constructs SolverOptions from nullable JSON fields, applying defaults.