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

1 vue (au cours des 30 derniers jours)
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!

Réponse acceptée

Matt J
Matt J le 21 Oct 2019
You can enforce this using upper and lower bounds
ub(i)=lb(i)=knownvalue
  1 commentaire
Austin Brehm
Austin Brehm le 21 Oct 2019
Modifié(e) : Austin Brehm le 21 Oct 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

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by