Search found 3 matches

by shamik
4 years ago
Forum: Modeling
Topic: Help Regarding creating gdx/xls files inside a loop with different file name
Replies: 5
Views: 3947

Re: Help Regarding creating gdx/xls files inside a loop with different file name

Hi, Renger I have tried it. but it does not work. It says file can not be created as the filename has ':' in it. it does not recognize the index and take it as a string command. I have tried this as well, *put_utilities 'exec' / 'mkdir ' 'test-':0 n.tl:0; *put_utilities 'ren' / 'test-':0 n.tl:0 '%sy...
by shamik
4 years ago
Forum: Modeling
Topic: Help Regarding creating gdx/xls files inside a loop with different file name
Replies: 5
Views: 3947

Re: Help Regarding creating gdx/xls files inside a loop with different file name

Thank you Renger for your reply. However, I do need to create different gdx file (to be accurate .xls files) for the next procedure. I have tried put-utility facilities to create new directories, however, unable to place the .xls file in that directory. put_utility 'exec' / 'mkdir ' 'test-':0 n.tl:0...
by shamik
4 years ago
Forum: Modeling
Topic: Help Regarding creating gdx/xls files inside a loop with different file name
Replies: 5
Views: 3947

Help Regarding creating gdx/xls files inside a loop with different file name

Dear All, I want to create GDX or xls file with different names for different instances. Please find the sample code below. parameter sel(i,j,tt) selection parameter bat(i,j,tt) batch size paramter inv(k,tt) inventory paramter end(i,j,tt) internal parameter l; $setglobal inc l loop n$(ord(n) <= coun...