Respected Sir…
Thanks a ton…I finally got rid of 13 error…
ya system call works…
But sir I am still stuck at unbounded solutions. My problem MIN c’x subject to Ax>=b with x unrestricted and A,b,c randomly generated mostly gives unbounded result as dimension of m and n increases.
Usually it works for m>n but not wen n>m … Sir is it because of random data that i am generating?
Pl Guide me.
It would be great if you could help me in this regard.
Thanks and regards
deepti
On Mon, Sep 12, 2011 at 6:25 PM, Steven Dirkse wrote:
Deepti,
I suggest you have a second look at how you are making the call from Matlab into GAMS. If you are doing solves in a look you should not use the gams() function but call gams via Matlab’s system() function instead. Details are here:
HTH,
-Steve
On Fri, Sep 9, 2011 at 2:51 AM, deepti singhal wrote:
Respected Sir
I am Deepti Chadha(Singhal) a student of M.Tech(Comp app) , IIT delhi
Sir I am working on a project on Privacy LPP and I am facing problem while solving LPP in GAMS using MAtlab
I need urgently help on my problem. I am really new to GAMS world.
The problem is
MIN c’x subject to Ax>= b
x’s are unrestricted
c, A, b all are randomly generated vectors (uniform in the interval
[1,10] [-10,10] )
now I am solving the problem till I get an optimal solution . However, my problem is generally unbounded or infeasible( because of random
data generated). So I solve it in a loop (again generate new vectors) till i get some solution. Now while solving the GAMS give mostly an
error 13(ERRoR NO SOLUTION) and after that even if i execute it afresh, the matlab gets stuck at this odd no. 13 and i have to
restart matlab to get the answers. and after a fresh start, matlab usually gives optimal solution.
Pl try to help me on this 13… where i am making a mistake…
Thanks and regards
deepti
–
Deepti Chadha (Singhal)
\
Steven Dirkse, Ph.D.
GAMS Development Corp., Washington DC
Voice: (202)342-0180 Fax: (202)342-0181
sdirkse@gams.com
http://www.gams.com
\
Deepti Chadha (Singhal)