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

3 visualizaciones (últimos 30 días)
Jiayang Xiao
Jiayang Xiao el 16 de Jul. de 2020
Respondida: Alan Weiss el 20 de Jul. de 2020
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?

Respuestas (1)

Alan Weiss
Alan Weiss el 20 de Jul. de 2020
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

Categorías

Más información sobre Problem-Based Optimization Setup en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by