Likeness between the source code and the algorithm
1 view (last 30 days)
Show older comments
Hello. When I enter :
edit fmincon
I find a source code that has no resemblance to the algorithm given in the Matlab documentation. Especially the article "An In terior Point Algorithm for Large Scale Nonlinear Programming". This algorithm contains two while loop though it is not the case for the source code.
0 Comments
Answers (1)
John D'Errico
on 1 Jan 2017
So? And what is your point?
First of all, fmincon offers several choices of fundamental algorithms. And that you saw a while loop inside the code does not seem to be terribly relevant, an implementation detail perhaps.
Finally, it is a terrible idea to edit source ode. That suffers the risk you might modify it without realizing you did, and then save a bug into the code. Use the type command instead to look at source code.
2 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!