Linprog: some lambda.lower > lambda.upper in output

조회 수: 3 (최근 30일)
Jiayang Xiao
Jiayang Xiao 2020년 7월 16일
답변: Alan Weiss 2020년 7월 20일
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?

답변 (1개)

Alan Weiss
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

카테고리

Help CenterFile Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by