[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] printf and data files
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] printf and data files |
Date: |
Wed, 16 Aug 2006 20:42:54 +0400 |
> Would you be able to show a simple demonstration of a piece of code
> that uses the pseudo-random generator? Would it be something like
> this:
>
> param d:= uniform01();
Exactly. Or like this, for example:
param c{j in J} := if Uniform01() <= 0.5 then 0 else 1;