sier to track the experiment.
>
> -Marc
>
> -Original Message-
> From: help-glpk-bounces+marc.meketon=oliverwyman@gnu.org
> [mailto:help-glpk-bounces+marc.meketon =
> oliverwyman@gnu.org] On
> Behalf Of Andrew Makhorin
> Sent: Tuesday, December 08, 2009 10:28 AM
> Ideally you would have the ability to have separate random number
> streams, and the ability to set the seeds for these streams in the data
> section.
> For example, one stream would be for "demand" data, the other stream for
> "supply" data.
This may be attained by using one model to generate
@gnu.org
[mailto:help-glpk-bounces+marc.meketon=oliverwyman@gnu.org] On
Behalf Of Andrew Makhorin
Sent: Tuesday, December 08, 2009 10:28 AM
To: Jeffrey Kantor
Cc: help-glpk@gnu.org
Subject: Re: [Help-glpk] Random Number seeds
> It would be nice to have a seed function :=)
I think it would b
Now glpsol has new option '--seed value', where value is a seed
value (any integer) used to initialize the pseudo-random number
generator in the MathProg translator. The seed value can be specified
as ? (question mark), in which case it is assigned some random
(time-based) number. If the option '--
ânica e de Produção
Universidade Federal do Ceará
De: Jeffrey Kantor
Para: Andrew Makhorin
Cc: help-glpk@gnu.org
Enviadas: Terça-feira, 8 de Dezembro de 2009 12:36:01
Assunto: Re: [Help-glpk] Random Number seeds
Yes, that would be even better.
On Tue, Dec 8,
Yes, that would be even better.
On Tue, Dec 8, 2009 at 10:28 AM, Andrew Makhorin wrote:
> > It would be nice to have a seed function :=)
>
> I think it would be better to have a seed parameter passed to the
> translator rather than the seed statement built into the language.
> On the command-lin
> It would be nice to have a seed function :=)
I think it would be better to have a seed parameter passed to the
translator rather than the seed statement built into the language.
On the command-line level this could look like 'glpsol --seed 314159'.
___
Andrew,
Thanks. This gave me a good start, I came up with the following idea to
generate a starting point for each time the code is executed:
param utc := prod {1..2} (gmtime()-10);
param seed := utc - 10*floor(utc/10);
check sum{1..seed} Uniform01() > 0;
It would be nice to hav
> Within GMPL (i.e., MathProg) , is there a simple way to set the
> seed for psuedo-random number generation? I #39;d like to be able
> to randomize the starting point to stress test an example I #39;m
> developing.
Currently the seed function is not implemented. However, you may
skip some pseudo
Hi --
Within GMPL (i.e., MathProg) , is there a simple way to set the seed for
psuedo-random number generation? I'd like to
be able to randomize the starting point to stress test an example I'm
developing.
Thanks,
Jeff Kantor
___
Help-glpk mailing list
10 matches
Mail list logo