robotoc
robotoc - efficient ROBOT Optimal Control solvers
|
Settings for the line search. More...
#include <line_search_settings.hpp>
Public Member Functions | |
void | disp (std::ostream &os) const |
Displays the line search settings onto a ostream. More... | |
Public Attributes | |
LineSearchMethod | line_search_method = LineSearchMethod::Filter |
If set to LineSearchMethod::Filter, filter method is used as a search scheme. If set to LineSearchMethod::MeritBacktracking, backtracking line search is used. More... | |
double | step_size_reduction_rate = 0.75 |
Reduction rate of the step size. More... | |
double | min_step_size = 0.05 |
Minimum step size. More... | |
double | filter_cost_reduction_rate = 0.005 |
The reduction rate of the cost in the filter line search method. More... | |
double | filter_constraint_violation_reduction_rate = 0.005 |
The reduction rate of the constraint violation in the filter line search method. More... | |
double | armijo_control_rate = 0.001 |
Control rate in Armijo condition. This value sets the slope of the linear approximation in the Armijo condition. More... | |
double | margin_rate = 0.05 |
Margin rate to determine penalty parameter in the merit function. More... | |
double | eps = 1.0e-08 |
A small positive value. Used to calculate directional derivative. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const LineSearchSettings &line_search_settings) |
Settings for the line search.
void robotoc::LineSearchSettings::disp | ( | std::ostream & | os | ) | const |
Displays the line search settings onto a ostream.
|
friend |
double robotoc::LineSearchSettings::armijo_control_rate = 0.001 |
Control rate in Armijo condition. This value sets the slope of the linear approximation in the Armijo condition.
double robotoc::LineSearchSettings::eps = 1.0e-08 |
A small positive value. Used to calculate directional derivative.
double robotoc::LineSearchSettings::filter_constraint_violation_reduction_rate = 0.005 |
The reduction rate of the constraint violation in the filter line search method.
double robotoc::LineSearchSettings::filter_cost_reduction_rate = 0.005 |
The reduction rate of the cost in the filter line search method.
LineSearchMethod robotoc::LineSearchSettings::line_search_method = LineSearchMethod::Filter |
If set to LineSearchMethod::Filter, filter method is used as a search scheme. If set to LineSearchMethod::MeritBacktracking, backtracking line search is used.
double robotoc::LineSearchSettings::margin_rate = 0.05 |
Margin rate to determine penalty parameter in the merit function.
double robotoc::LineSearchSettings::min_step_size = 0.05 |
Minimum step size.
double robotoc::LineSearchSettings::step_size_reduction_rate = 0.75 |
Reduction rate of the step size.