# Convergence behavior in MATLAB vs Julia

**URL:** <https://discourse.julialang.org/t/convergence-behavior-in-matlab-vs-julia/109113>\
**Category:** New to Julia\
**Tags:** question, matlab, optimization\
**Created:** [January 22, 2024, 6:21pm UTC](https://discourse.julialang.org/t/convergence-behavior-in-matlab-vs-julia/109113 "2024-01-22T18:21:57Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![PeterSimon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petersimon/32/25193_2.png) [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Post date:** [January 23, 2024, 10:39pm UTC](https://discourse.julialang.org/t/convergence-behavior-in-matlab-vs-julia/109113/11 "2024-01-23T22:39:26Z")

</div>

You may be interested to know that the author of NLopt has [stated](https://discourse.julialang.org/t/why-nelder-mead-minimization-without-minimal-property-check/102236/2) on more than one occasion that he considers Nelder-Mead to be obsolete, and that other algorithms should typically be selected.

For NLopt, I believe that the recommended way to trace the calls to your objective is to pass a “wrapper” function to the optimizer that calls your actual objective function, then prints the desired information before returning the objective function value.

---

_[View the full topic](https://discourse.julialang.org/t/convergence-behavior-in-matlab-vs-julia/109113)._
