Is there any limit in no: of variables that can be solved using matlab?

1 view (last 30 days)
my problem has 4876 variables....
Krishna prasad K
Krishna prasad K on 8 Nov 2016
I'm using bintprog() in matlab for scheduling of DC micro grid. No particular algorithm is used.

Sign in to comment.

Answers (2)

Eng. Fredius Magige
Eng. Fredius Magige on 7 Nov 2016
Hi Iam not sure with limitation; I developed more than 100 pages with more than 5000 variable in 2010b, and seem Matlab is OK thought is more slow.

Walter Roberson
Walter Roberson on 8 Nov 2016
The limit is memory, not anything built in.
Except possibly for some 32 bit systems where it was just possible to run into some limits on indexing before you ran out of memory, in some uncommon systems configured with eXpanded Memory, in the fundamentally useless edge case of passing in a really long single sample and asking to classify based on the one single sample (if you had multiple samples you would have run out of memory before hitting this edge case...)
Tl;Dr : use a 64 bit MATLAB and the limit will be amount of memory you have.


Find more on Manual Performance Optimization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!