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

1 次查看(过去 30 天)
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 中查找有关 Get Started with Optimization Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by