template<>
daw::json::json_data_contract<PlanningOptions> struct

Public types

using constructor_t = PlanningOptionsConstructor
using type = json_member_list<json_string_null<"input_directory", OptName>, json_string_null<"input_format", OptName>, json_number_null<"demand_fail_cost", OptReal>, json_number_null<"reserve_fail_cost", OptReal>, json_number_null<"hydro_fail_cost", OptReal>, json_number_null<"hydro_use_value", OptReal>, json_bool_null<"use_line_losses", OptBool>, json_number_null<"loss_segments", OptInt>, json_bool_null<"use_kirchhoff", OptBool>, json_bool_null<"use_single_bus", OptBool>, json_number_null<"kirchhoff_threshold", OptReal>, json_number_null<"scale_objective", OptReal>, json_number_null<"scale_theta", OptReal>, json_number_null<"annual_discount_rate", OptReal>, json_string_null<"output_directory", OptName>, json_string_null<"output_format", OptName>, json_string_null<"output_compression", OptName>, json_number_null<"use_lp_names", OptInt>, json_bool_null<"use_uid_fname", OptBool>, json_string_null<"method", OptName>, json_string_null<"log_directory", OptName>, json_bool_null<"lp_debug", OptBool>, json_string_null<"lp_compression", OptName>, json_bool_null<"lp_only", OptBool>, json_number_null<"lp_debug_scene_min", OptInt>, json_number_null<"lp_debug_scene_max", OptInt>, json_number_null<"lp_debug_phase_min", OptInt>, json_number_null<"lp_debug_phase_max", OptInt>, json_class_null<"model_options", ModelOptions>, json_class_null<"monolithic_options", MonolithicOptions>, json_class_null<"sddp_options", SddpOptions>, json_class_null<"cascade_options", CascadeOptions>, json_class_null<"solver_options", SolverOptions>, json_class_null<"lp_matrix_options", LpMatrixOptions>, json_array_null<"variable_scales", gtopt::Array<VariableScale>, VariableScale>, json_string_null<"constraint_mode", OptName>>

Public static functions

static auto to_json_data(PlanningOptions const& opt) -> auto