What is the difference between Optimproblem and linprog
4 次查看(过去 30 天)
显示 更早的评论
Please help,
The below syntax creates a linear optimisation problem ?
What is the difference of this above syntax with the linprog command below?
x = linprog(f,A,b)
0 个评论
采纳的回答
Sai Veeramachaneni
2021-3-1
Hi,
There are two ways to solve an optimization problem.
1) Problem-based
2) Solver-based
Problem-based approach involves creating an object for optimproblem. Solver-based approach uses linprog or intlinprog.
Hope it helps.
更多回答(1 个)
Alan Weiss
2021-2-28
For examples and a description of the problem-based approach, see Linear Programming and Mixed-Integer Linear Programming.
Alan Weiss
MATLAB mathematical toolbox documentation
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Programming and Mixed-Integer Linear Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!