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

my problem has 4876 variables....

2 Comments

It depends on the algorithm you want to apply. So please provide any details.
I'm using bintprog() in matlab for scheduling of DC micro grid. No particular algorithm is used.

Sign in to comment.

Answers (2)

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.
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.

Categories

Find more on Mathematics in Help Center and File Exchange

Asked:

on 7 Nov 2016

Answered:

on 8 Nov 2016

Community Treasure Hunt

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

Start Hunting!