Linear Programming: Can you input fixed values to the output matrix ('x') before solving linprog for 'x'?

1 回表示 (過去 30 日間)
I'm solving a linear programmig problem with "linprog".
I'm looking to see if it's possible to assign values to specific cells in the output matrix 'x' before solving for 'x'.
Thanks in advance!

採用された回答

Matt J
Matt J 2019 年 10 月 21 日
You can enforce this using upper and lower bounds
ub(i)=lb(i)=knownvalue
  1 件のコメント
Austin Brehm
Austin Brehm 2019 年 10 月 21 日
編集済み: Austin Brehm 2019 年 10 月 21 日
Thanks Matt. I'll try that. I knew that you can set the bounds to a specific range. I didn't know that you could set bounds to a specific value

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by