object
gradient_descent(Problem)
Problem- Problem object implementinglocal_optimization_problem_protocoland defininggradient/2.
Gradient descent (steepest descent) local optimizer with optional backtracking Armijo line search. Requires the problem to define gradient/2. Supports box constraints via projection, minimization and maximization.
logtalk_load(local_optimization(loader))static, context_switching_calls
Line search: The
line_search(armijo)option (default) uses backtracking Armijo line search. Theline_search(fixed)option uses a constant step size given bystep_size(S).Bounds: When the problem defines
position_bounds/1, the gradient step is projected onto the box (projected gradient descent).Direction: For minimization the search direction is
-gradient; for maximization it is+gradient.
Public predicates
(no local declarations; see entity ancestors if any)
Protected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)