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

1 view (last 30 days)
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!

Answers (1)

Anh Tran
Anh Tran on 7 Sep 2017
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.

Categories

Find more on Get Started with Optimization Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!