What is the difference between linprog and fmincon?
17 views (last 30 days)
Show older comments
SIARHEI SEMASHKA
on 27 Nov 2015
Commented: John D'Errico
on 27 Nov 2015
What is the difference between linprog and fmincon?
0 Comments
Accepted Answer
John D'Errico
on 27 Nov 2015
Your question is like asking what is the difference between a snake and a rooster. The two animals are related, to the extent that both had a common ancestor. But asking what is the difference is a very broad question. There are many differences.
These two solvers solve different problem types. They use different algorithms to do so. One of them (linprog) solves linear programming problems, the other (fmincon) solves general nonlinear problems, subject to constraints, that may be linear or nonlinear.
0 Comments
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!