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 CenterFile Exchange 中查找有关 Solver 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