Simple Sets and Indexing - AMPLAMPL

in a set can be specified as part of the data, or can be specified within a model as a list between braces, such as{1,2,3,4,5,6}. This sort of set can be described more con-cisely by the notation1..6. An additionalbyclause can be used to specify an interval other than 1 between the numbers; for instance, 1990 .. 2020 by 5. represents the set ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download