What is the difference between Optimproblem and linprog

2 ビュー (過去 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 件のコメント
NN
NN 2021 年 3 月 1 日
thank you very much

サインインしてコメントする。

その他の回答 (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 Center および File ExchangeLinear 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