Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Peter Vos
Peter Vos le 30 Août 2017
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!

Réponses (1)

Anh Tran
Anh Tran le 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.

Catégories

En savoir plus sur Get Started with Optimization Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by