What is the difference between Optimproblem and linprog

조회 수: 3 (최근 30일)
NN
NN 2021년 2월 26일
댓글: NN 2021년 3월 1일
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)

채택된 답변

Sai Veeramachaneni
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.
You can find the difference between problem-based and solver-based here.
Hope it helps.

추가 답변 (1개)

Alan Weiss
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

카테고리

Help CenterFile 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!

Translated by