Create expanding input for linprog optimization
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I'm trying code an expanding constraint limitation vector for a linprog optimization that has to be able to run for any number of stages.
Basically, what I need is a way to create the following input for each linprog loop:
Loop 1: B*x1
Loop 2: B*x2 - B*x1
Loop 3: B*x3 - B*x2 - B*x1
Loop... and so on.
x_n being the output(s) of the linprog from previous loop(s) and x1 the output from an initial linprog.
Any ideas?
Cheers, Simon
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!