1#ifndef ROBOTOC_SOLVER_OPTIONS_HPP_
2#define ROBOTOC_SOLVER_OPTIONS_HPP_
155 void disp(std::ostream& os)
const;
Definition: constraint_component_base.hpp:17
DiscretizationMethod
Discretization method of the optimal control problem.
Definition: discretization_method.hpp:10
InterpolationOrder
Order of the interpolation.
Definition: interpolation_order.hpp:10
Settings for the line search.
Definition: line_search_settings.hpp:22
Options of optimal control solvers.
Definition: solver_options.hpp:17
double mu_superlinear_decrease_power
Superlinear decrease rate of barrier parameter. Default is 1.5.
Definition: solver_options.hpp:65
double mu_init
Initial barrier parameter. Must be positive. Default is 1.0e-03.
Definition: solver_options.hpp:39
bool enable_benchmark
If true, the CPU time is measured at each solve().
Definition: solver_options.hpp:150
double kkt_tol
Tolerance of the l2-norm of the (perturbed) KKT residual for convergence. Default is 1....
Definition: solver_options.hpp:34
bool enable_solution_interpolation
If true, the solution initial guess is constructed from the linear interpolation of the previous solu...
Definition: solver_options.hpp:139
friend std::ostream & operator<<(std::ostream &os, const SolverOptions &solver_options)
bool enable_line_search
Flag to enable the line search. Default is false.
Definition: solver_options.hpp:70
double max_dts_riccati
Maximum magnitude of the nominal direction of the switching time computed by the Riccati recursion al...
Definition: solver_options.hpp:133
DiscretizationMethod discretization_method
Discretization method of the optimal control problem. Only used in OCPSolver without the STO problem....
Definition: solver_options.hpp:84
void disp(std::ostream &os) const
Displays the solver settings onto a ostream.
int max_iter
Maximum number of iterations. Must be non-negative. Default is 100.
Definition: solver_options.hpp:28
double mu_min
Minimum barrier parameter. Must be positive. Default is 1.0e-03 (that is, no barrier parameter reduct...
Definition: solver_options.hpp:45
double mu_linear_decrease_factor
Linear decrease rate of barrier parameter. Default is 0.2.
Definition: solver_options.hpp:58
InterpolationOrder interpolation_order
Order of the solution interpolation if enable_solution_interpolation is true.
Definition: solver_options.hpp:145
double kkt_tol_mu
Tolerance of the l2-norm of the (perturbed) KKT residual for the barrier parameter update....
Definition: solver_options.hpp:51
double kkt_tol_mesh
Tolerance of the KKT residual to perform mesh-refinement in the STO problem. Default is 1....
Definition: solver_options.hpp:113
int nthreads
Number of the threads of parallel computations. Must be positive. Default is 1.
Definition: solver_options.hpp:22
LineSearchSettings line_search_settings
Line search settings.
Definition: solver_options.hpp:75
double initial_sto_reg
Magnitude of the large regularization for the STO problem at the initial iterations speficied by init...
Definition: solver_options.hpp:107
int initial_sto_reg_iter
Number of initial inner iterations in which a large regularization for the STO problem is added,...
Definition: solver_options.hpp:96
double max_dt_mesh
Tolerance of the maximum discretization step size to perform mesh-refinement in the STO problem....
Definition: solver_options.hpp:119