Limitation of variables and constraints?

What is the Maximum no. of variables and constraints that can be enforced in the large scale optimization using optimization toolbox-LINPROG?

Réponses (1)

Titus Edelhofer
Titus Edelhofer le 21 Juin 2011

0 votes

Hi Samir,
there is no fixed limit. It depends on the amount of available memory ...
Titus
PS: what size of problem do you have in mind?

3 commentaires

Samir
Samir le 21 Juin 2011
hey Titus,
aeq(11297 x 21402)
a(20065 x 21402)
Walter Roberson
Walter Roberson le 21 Juin 2011
11297 x 21402 is 1.8 gigabytes of memory. If you have a 32 bit system, you are almost certain to run out of memory doing that.
20065 x 21402 is over 3 gigabytes of memory. There is no realistic hope of handling it on a 32 bit version of MATLAB.
Titus Edelhofer
Titus Edelhofer le 26 Juin 2011
Hi Samir,
two comments: as Walter said, on 32 bit it will not work, on 64 bit it should be no problem, provided you have enough memory. Second, any chance your a or aeq is sparse? Then you might again have a chance ...
Titus

Connectez-vous pour commenter.

Question posée :

le 21 Juin 2011

Community Treasure Hunt

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

Start Hunting!

Translated by