47 steepest_descent<ObjectiveFunction, LineSearcher>, LineSearcher> {
86 iteration_logger.template append<index_type>(
88 iteration_logger.template append<index_type>(
90 iteration_logger.template append<value_type>(
92 iteration_logger.template append<value_type>(
Definition of backtracking_line_searcher class.
Class to write logs of iterations.
Class of tags of logs without memory management.
Class to perform backtracking line search.
Base class of implementations of descent methods for optimization.
typename objective_function_type::value_type value_type
Type of function values.
auto gradient() const -> const variable_type &
Get gradient for current optimal variable.
auto iterations() const noexcept -> index_type
Get the number of iterations.
typename objective_function_type::variable_type variable_type
Type of variables.
auto evaluations() const noexcept -> index_type
Get the number of function evaluations.
typename line_searcher_type::objective_function_type objective_function_type
Type of the objective function.
auto gradient_norm() const -> value_type
Calculate norm of gradient.
auto opt_value() const -> const value_type &
Get current optimal value.
Class of steepest descent method.
auto gradient() const -> const variable_type &
Get gradient for current optimal variable.
typename objective_function_type::variable_type variable_type
Type of variables.
void configure_iteration_logger(logging::iterations::iteration_logger< this_type > &iteration_logger) const
Configure an iteration logger.
steepest_descent(const objective_function_type &obj_fun=objective_function_type())
Constructor.
typename line_searcher_type::objective_function_type objective_function_type
Type of the objective function.
auto calc_direction() const -> variable_type
Calculate search direction.
Concept of first-order differentiable objective functions in optimization.
Concept of objects to perform line search in optimization.
Definition of descent_method_base class.
Definition of differentiable_objective_function concept.
Definition of index_type type.
Definition of iteration_logger class.
Definition of line_searcher concept.
Definition of log_tag_view class.
Namespace of optimization algorithms.
constexpr auto steepest_descent_tag
Tag of steepest_descent.