![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
#include <line/opt/line_opt_solver.h>
Public Attributes | |
| std::string | strategy = "best1bin" |
| std::size_t | popsize = 15 |
| double | mutation_low = 0.5 |
| double | mutation_high = 1.0 |
| double | recombination = 0.7 |
| double | tolerance = 0.01 |
| std::size_t | max_iterations = 100 |
| double | time_limit = 300.0 |
| std::optional< std::uint64_t > | seed |
| bool | verbose = false |
| double | penalty_weight = 1e6 |
| std::string | scenario_aggregation = "worst" |
| std::string | optimizer = "evolution" |
| double | fd_step = 1e-6 |
| double | fd_step_layered = 1e-4 |
| std::size_t | gradient_restarts = 4 |
| std::string | lqn_gradient = "fd" |
| std::size_t | fd_refresh = 5 |
| std::vector< std::string > | frozen_layers |
Definition at line 50 of file line_opt_solver.h.
|
inline |
Definition at line 104 of file line_opt_solver.h.
References seed.
|
inline |
Definition at line 142 of file line_opt_solver.h.
References fd_refresh.
|
inline |
Definition at line 124 of file line_opt_solver.h.
References fd_step.
|
inline |
Definition at line 128 of file line_opt_solver.h.
References fd_step_layered.
|
inline |
Definition at line 146 of file line_opt_solver.h.
References frozen_layers.
|
inline |
Definition at line 132 of file line_opt_solver.h.
References gradient_restarts.
|
inline |
Definition at line 136 of file line_opt_solver.h.
References line::InputError::InputError(), and lqn_gradient.
|
inline |
Definition at line 92 of file line_opt_solver.h.
References max_iterations.
|
inline |
Definition at line 79 of file line_opt_solver.h.
References mutation_high, and mutation_low.
|
inline |
Definition at line 120 of file line_opt_solver.h.
References optimizer.
|
inline |
Definition at line 112 of file line_opt_solver.h.
References penalty_weight.
|
inline |
Definition at line 75 of file line_opt_solver.h.
References popsize.
|
inline |
Definition at line 84 of file line_opt_solver.h.
References recombination.
|
inline |
Definition at line 116 of file line_opt_solver.h.
References scenario_aggregation.
|
inline |
Definition at line 100 of file line_opt_solver.h.
References seed.
|
inline |
Definition at line 71 of file line_opt_solver.h.
References strategy.
|
inline |
Definition at line 96 of file line_opt_solver.h.
References time_limit.
|
inline |
Definition at line 88 of file line_opt_solver.h.
References tolerance.
|
inline |
Definition at line 108 of file line_opt_solver.h.
References verbose.
| std::size_t line::opt::LineOptSolverOptions::fd_refresh = 5 |
Definition at line 68 of file line_opt_solver.h.
Referenced by set_fd_refresh().
| double line::opt::LineOptSolverOptions::fd_step = 1e-6 |
Definition at line 64 of file line_opt_solver.h.
Referenced by set_fd_step().
| double line::opt::LineOptSolverOptions::fd_step_layered = 1e-4 |
Definition at line 65 of file line_opt_solver.h.
Referenced by set_fd_step_layered().
| std::vector<std::string> line::opt::LineOptSolverOptions::frozen_layers |
Definition at line 69 of file line_opt_solver.h.
Referenced by set_frozen_layers().
| std::size_t line::opt::LineOptSolverOptions::gradient_restarts = 4 |
Definition at line 66 of file line_opt_solver.h.
Referenced by set_gradient_restarts().
| std::string line::opt::LineOptSolverOptions::lqn_gradient = "fd" |
Definition at line 67 of file line_opt_solver.h.
Referenced by set_lqn_gradient().
| std::size_t line::opt::LineOptSolverOptions::max_iterations = 100 |
Definition at line 57 of file line_opt_solver.h.
Referenced by set_max_iterations().
| double line::opt::LineOptSolverOptions::mutation_high = 1.0 |
Definition at line 54 of file line_opt_solver.h.
Referenced by set_mutation().
| double line::opt::LineOptSolverOptions::mutation_low = 0.5 |
Definition at line 53 of file line_opt_solver.h.
Referenced by set_mutation().
| std::string line::opt::LineOptSolverOptions::optimizer = "evolution" |
Definition at line 63 of file line_opt_solver.h.
Referenced by set_optimizer().
| double line::opt::LineOptSolverOptions::penalty_weight = 1e6 |
Definition at line 61 of file line_opt_solver.h.
Referenced by set_penalty_weight().
| std::size_t line::opt::LineOptSolverOptions::popsize = 15 |
Definition at line 52 of file line_opt_solver.h.
Referenced by set_popsize().
| double line::opt::LineOptSolverOptions::recombination = 0.7 |
Definition at line 55 of file line_opt_solver.h.
Referenced by set_recombination().
| std::string line::opt::LineOptSolverOptions::scenario_aggregation = "worst" |
Definition at line 62 of file line_opt_solver.h.
Referenced by set_scenario_aggregation().
| std::optional<std::uint64_t> line::opt::LineOptSolverOptions::seed |
Definition at line 59 of file line_opt_solver.h.
Referenced by clear_seed(), and set_seed().
| std::string line::opt::LineOptSolverOptions::strategy = "best1bin" |
Definition at line 51 of file line_opt_solver.h.
Referenced by set_strategy().
| double line::opt::LineOptSolverOptions::time_limit = 300.0 |
Definition at line 58 of file line_opt_solver.h.
Referenced by set_time_limit().
| double line::opt::LineOptSolverOptions::tolerance = 0.01 |
Definition at line 56 of file line_opt_solver.h.
Referenced by set_tolerance().
| bool line::opt::LineOptSolverOptions::verbose = false |
Definition at line 60 of file line_opt_solver.h.
Referenced by set_verbose().