performance differences in linprog optimization depending on how boundaries are incorporated

조회 수: 2 (최근 30일)
I had noticed a performance difference in linprog (large-scale) when incorporating boundary conditions into (lb;ub) vs just incorporating them in into the inequality matrix A by augmenting it with a sparse identity matrix (assuming lb). Expressing the bounds on x in the bounary variables seeems to converge faster. Can you please explain this performance difference? Thanks in advance.

채택된 답변

Alan Weiss
Alan Weiss 2014년 6월 26일
Linear programming algorithms have a much easier time satisfying bounds than they do satisfying linear inequalities, so I am not at all surprised that there is a performance difference. Take a look at the linear programming algorithms to see how they work.
This observation is more general than linear programming. The documentation advises that you use the simplest constraint type possible, and it is explicit about what "simplest" means.
Alan Weiss
MATLAB mathematical toolbox documentation

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by