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

2 visualizaciones (últimos 30 días)
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!

Respuesta aceptada

Matt J
Matt J el 21 de Oct. de 2019
You can enforce this using upper and lower bounds
ub(i)=lb(i)=knownvalue
  1 comentario
Austin Brehm
Austin Brehm el 21 de Oct. de 2019
Editada: Austin Brehm el 21 de Oct. de 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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by