Linprog: some lambda.lower > lambda.upper in output
4 次查看(过去 30 天)
显示 更早的评论
In my output, some lambda.lower > lambda.upper.
According to Description of Output Lambda, lambda.lower and lambda.upper are like lb and ub, so lambda.lower < lambda.upper.
Why can I observe some lambda.lower > lambda.upper?
0 个评论
回答(1 个)
Alan Weiss
2020-7-20
You are mistaken that lambda.lower relates to lambda.upper. These are Lagrange multipliers. If the solution is at a lower bound, lambda.upper = 0 and lambda.lower ~= 0. If the solution is at an upper bound, lambda.lower = 0 and lambda.upper ~= 0.
Alan Weiss
MATLAB mathematical toolbox documentation
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Problem-Based Optimization Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!