Hello Andrew,
the following syntax is useful to produce a random set.
set J := {1..100:Uniform01()<.1};
display J;
end;
Unfortunately gmpl.pdf does not describe when random number are
evaluated in indexing expression.
Please, add a sentence like
"If the predicate of the indexing expression depends on a random
function, it will be evaluated for every index combination individually."
Best regards
Heinrich Schuchardt
_______________________________________________
Bug-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-glpk