Conjugate gradient optimizer
This function returns the vector x=[x1,...xn] that results in the minimum
objective function value for the given function. Inputs are the function
fcn, the initial x0, the gradient approximation method (1= central diff,
2=fwd. diff.), n for the golden section search, the convergence tolerance
epsilon, and the maximum number of iterations, nmax.
Note that the golden section search is very sensitive to n.
Citation pour cette source
Sean Wu (2024). Conjugate gradient optimizer (https://www.mathworks.com/matlabcentral/fileexchange/50141-conjugate-gradient-optimizer), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
A inspiré : Airfoil optimization using Xfoil and PARSEC geometric parameterization
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Conjugate/
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | Included gradient approximation functions |
||
1.0.0.0 |