Dear all,
I am having trouble displaying the optimal solution. I am sure that Gams is not displaying the solution correctly, when it passes 8 digits. I ve tried to output the solution via scientific formatting but no luck.
Currently I am solving a queuing model, and obtaining q, r, and z variables results.
Solve dual_queuing using LP minimizing z;
Display q.l,r.l, z.l;
I am interested in non-zero q’s - however the solution as provided is incomplete.
I ve tried the following as well:
file output /output.txt/;
output.nr = 2 ;
output.nd = 15 ;
output.nw = 0 ;
put output;
loop((i,j,Tall,u,v),
put i.tl, j.tl, Tall.tl, u.tl, v.tl, q.l(i,j,Tall,u,v)/
);
;
put the mimimum q value that I get ( apart from 0) is on the order of 10^-7 - and I m sure there must be smaller values than that. I ve tried converting the model into an mps and solving via gurobi shell and the optimal value is correct. However I have a serious issue in displaying here.
Any help appreciated thank you very much…
Ahmet
–
To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/6mlgY1KHgGEJ.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.