How does the intlinprog algorithm deals with unused variables in your x vector?

조회 수: 1 (최근 30일)
Peter Vos
Peter Vos 2017년 8월 30일
답변: Anh Tran 2017년 9월 7일
I have an optimization problem with a lot of variables that I determined before hand. I built all my matrices according to this x-vector, but some of the variables are not being used because of aggregation of constraints, or because they are not necessary anymore.
How does the intlinprog function handle these (unnecessary) variables which are not used, and is it useful to rebuild the matrices to make the algorithm faster? Any explanation would be appreciated!

답변 (1개)

Anh Tran
Anh Tran 2017년 9월 7일
Hi Peter, Can you elaborate on what is your "x-vector" (is it the coefficient vector 'f', the vector of integer constraints 'intcon', etc.), and what are "matrices" built according to this vector? You may want to refer to the arguments on the documentation to clarify your question.

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by