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

1 Ansicht (letzte 30 Tage)
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!

Akzeptierte Antwort

Matt J
Matt J am 21 Okt. 2019
You can enforce this using upper and lower bounds
ub(i)=lb(i)=knownvalue
  1 Kommentar
Austin Brehm
Austin Brehm am 21 Okt. 2019
Bearbeitet: Austin Brehm am 21 Okt. 2019
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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by