[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-glpk] Missing documentation {1..100:Uniform01()<.1}
From: |
Andrew Makhorin |
Subject: |
Re: [Bug-glpk] Missing documentation {1..100:Uniform01()<.1} |
Date: |
Wed, 05 Aug 2015 08:36:00 +0300 |
On Tue, 2015-08-04 at 23:34 +0200, Heinrich Schuchardt wrote:
> 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.
Clause 3.1.5 "Function references", p. 14, explains how pseudo-random
generator functions are evaluated.
>
> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-glpk
>