class ecole.RandomEngine
discard(self: ecole.RandomEngine, n: int) → None

Advance the internal state by n times.

Equivalent to calling operator() n times and discarding the result.

max_seed = 18446744073709551615
min_seed = 0
seed(self: ecole.RandomEngine, value: int = 5489) → None

Reinitialize the internal state of the random-number engine using new seed value.

ecole.seed(val: int) → None

Seed the main source of randomness in Ecole.


Create new random engine deriving from main source of randomness