Difference between revisions of "Alpha conds.m"
(Create documentation page from Spinach function header) |
(Expand See also links to related Spinach functions and docs) |
||
| Line 37: | Line 37: | ||
==See also== | ==See also== | ||
| − | [[ | + | * [[bracketing.m]] |
| + | * [[sectioning.m]] | ||
| + | * [[cubic_interp.m]] | ||
| + | * [[fmaxnewton.m]] | ||
| + | * [[bfgs.m]] | ||
| + | * [[Optimal_control_module]] | ||
| + | |||
| + | |||
''Version 2.11, authors: David Goodwin, [[Ilya Kuprov]]'' | ''Version 2.11, authors: David Goodwin, [[Ilya Kuprov]]'' | ||
Revision as of 20:19, 22 February 2026
Applies one of the line search acceptance tests used by the brac- keting and sectioning routines in constrained optimisation and
Syntax
test=alpha_conds(test_type,alpha,fx_0,fx_1,...
gfx_0,gfx_1,dir,spin_system)
Arguments
test_type - condition selector:
0 for monotonic increase test
1 for Armijo sufficient increase test
2 for strong Wolfe curvature test
3 for ascent direction test
alpha - trial step length
fx_0 - objective value at the initial point
fx_1 - objective value at the trial point
gfx_0 - gradient at the initial point
gfx_1 - gradient at the trial point
dir - search direction vector
spin_system - Spinach data structure with line
search settings in control
Returns:
test - logical true if the selected
condition is satisfied
Outputs
this function produces output as described in source code
Examples
See examples in the Spinach distribution relevant to this function.
Notes
This page was generated from the function header in the Spinach repository.
See also
Version 2.11, authors: David Goodwin, Ilya Kuprov