What is the difference between Optimproblem and linprog
4 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Sai Veeramachaneni
on 1 Mar 2021
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.
More Answers (1)
Alan Weiss
on 28 Feb 2021
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 Comments
See Also
Categories
Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!