fminunc with quasi-Newton algorithm giving unexpected results
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 25 Giu 2018
Risposto: MathWorks Support Team
il 25 Giu 2018
Why am I getting unexpected results and exitflag = 5 with "fminunc" quasi-Newton algorithm?
Risposta accettata
MathWorks Support Team
il 25 Giu 2018
Double check that the "fminunc" function is correct. Small errors in the function to minimize could cause for very unexpected results.
Additionally, setting 'SpecifyObjectiveGradient' to true and defining a gradient function might drastically improve your solution.
Please see the following link for information on defining a gradient for the objective function:
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!