When did the syntax for linprog change
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Naga
2024-8-22
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.
更多回答(1 个)
Walter Roberson
2024-8-23
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
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!