daw::json::PlanningOptionsConstructor struct

Custom constructor: converts JSON strings → typed enums for PlanningOptions.

Public functions

auto operator()(OptName input_directory, OptName input_format_str, OptReal demand_fail_cost, OptReal reserve_fail_cost, OptReal hydro_fail_cost, OptReal hydro_use_value, OptBool use_line_losses, OptInt loss_segments, OptBool use_kirchhoff, OptBool use_single_bus, OptReal kirchhoff_threshold, OptReal scale_objective, OptReal scale_theta, OptReal annual_discount_rate, OptName output_directory, OptName output_format_str, OptName output_compression_str, OptInt use_lp_names, OptBool use_uid_fname, OptName method_str, OptName log_directory, OptBool lp_debug, OptName lp_compression_str, OptBool lp_only, OptInt lp_debug_scene_min, OptInt lp_debug_scene_max, OptInt lp_debug_phase_min, OptInt lp_debug_phase_max, ModelOptions model_options, MonolithicOptions monolithic_options, SddpOptions sddp_options, CascadeOptions cascade_options, SolverOptions solver_options, LpMatrixOptions lp_matrix_options, gtopt::Array<VariableScale> variable_scales, OptName constraint_mode_str) const -> PlanningOptions