User Tools

Site Tools


gams:a_scalar_drives_the_length_of_a_set

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
gams:a_scalar_drives_the_length_of_a_set [2008/06/30 16:05]
support
gams:a_scalar_drives_the_length_of_a_set [2008/06/30 16:26]
support
Line 26: Line 26:
 parameter p(univ); parameter p(univ);
 p(myset) = 1; p(myset) = 1;
 +</​code>​
 +
 +You can also pass compile time information through the command line: ''​gams x.gms --dim=5''​ with ''​x.gms'' ​
 +<​code>​
 +$if not set dim $set dim 5
 +
 +set myset / 1*%dim%/ ​
 </​code>​ </​code>​
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY gams/a_scalar_drives_the_length_of_a_set.txt ยท Last modified: 2020/05/28 11:31 by Michael Bussieck