Search found 23 matches

by Lucas
5 years ago
Forum: Syntax
Topic: use the answer that has been achieved
Replies: 1
Views: 3090

use the answer that has been achieved

Hi guys! I solved a MIP model with the option reslim = 2000 and got MODEL STATUS 8 Integer Solution status. Is it possible to run GAMS in seconds after 2000?

Is there a way I can save time And instead of running the program from the beginning, use the answer that has been achieved so far?

Thanks!
by Lucas
5 years ago
Forum: Tools
Topic: tool for Using a code several times in a GAMS
Replies: 1
Views: 8466

tool for Using a code several times in a GAMS

Hi guys!

Is there a tool or command to use the piece of code Many times in GAMS?Instead of copying many times throughout the program?

Many Thanks!
Lucas
by Lucas
5 years ago
Forum: Syntax
Topic: Using same as to comparing two dimensional parameter
Replies: 1
Views: 1770

Using same as to comparing two dimensional parameter

Hi , I Can't code this term in GAMS if there exist k'<k s.t. for all s , b(s,k')=b(s,k) then b(s,k)=(b(s,k-1)+b(s,k-2))/2; else do not Change b(s,k) [\code] My try: [Code] loop(k1$(k1.val<k.val ), loop(s, if( (B(s,k1)<>B(s,k1)), Break; else b(s,k1)= (B(s,k1)+B(s,k1-1))/2 ; ); ); ); [\code] I don't k...