March 4th, 2010, 4:45 am
Hi guys, I am encountering this problem when running linear programming in Matlab, ===============================================================??? Out of memory. Type HELP MEMORY for your options.Error in ==> lipsol at 689 x(perm) = (P(perm,perm)+U(perm,*U(perm,')\b(perm);Error in ==> linprog at 244 [x,fval,lambda,exitflag,output] = lipsol(f,A,B,Aeq,Beq,lb,ub,options,defaultopt,computeLambda);==============================================================I tried on 2 computers and monitor the memory, 1: the initial "Largest Contiguous Free Blocks" is around 500MB, and seems it's not enoughmy AA matrix is 3200*3800, Aeq is 4400*3800. which are not very large matrix, and i think as the error msg says: it brokes when doing lipsol at 689 x(perm) = (P(perm,perm)+U(perm,*U(perm,')\b(perm);not sure wut is that, and if i elminate AA inequality constraints, it works fine.2. the initial "Largest Contiguous Free Blocks" is around 1GB, after the first sucessful running, the "Largest Contiguous Free Blocks" reduces to 500MB and then it never can make the 2nd run. which i think is odd, since the space should be freed after the running, shouldnt it? Like what i did in the previous test, the memory reduces in the running and then comes back.any suggestion?