When did the syntax for linprog change

3 visualizaciones (últimos 30 días)
Matt J
Matt J el 22 de Ag. de 2024
Comentada: Matt J el 3 de Sept. de 2024
At one point, the input syntax for linprog was
x=linprog(f,A,b,Aeq,beq,lb,ub,x0,options)
but now (R2023b) I see that it has changed to,
In what release was the support for the first syntax discontinued?
  1 comentario
Walter Roberson
Walter Roberson el 22 de Ag. de 2024
Before R2019a -- at least the x0 is not documented in R2019a.

Iniciar sesión para comentar.

Respuesta aceptada

Naga
Naga el 22 de Ag. de 2024
Hello Matt,
I had the same question and was trying to achieve the same functionality. After some investigation, I discovered that the support for the initial point x0 in the linprog function was removed starting with MATLAB R2023a.
  4 comentarios
Matt J
Matt J el 23 de Ag. de 2024
Editada: Matt J el 23 de Ag. de 2024
Were you actually using the intial point x0? By 2022b, the only linear programming algorithms available were interior-point, interior-point-legacy, and dual-simplex, neither of which make use of an initial point.
Matt J
Matt J el 3 de Sept. de 2024
I just got confirmation from Tech Support that " the "x0" input to "linprog" was removed in R2023a."
Thanks a lot.

Iniciar sesión para comentar.

Más respuestas (1)

Walter Roberson
Walter Roberson el 23 de Ag. de 2024
R2018b documents
X = linprog(f,A,b,Aeq,beq,LB,UB,X0) sets the starting point to X0. This
option is only available with the active-set algorithm. The default
interior point algorithm will ignore any non-empty starting point.
As of R2019a, active-set is not a recognized algorithm

Categorías

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

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by