set_seed

set_seed(arg: int, /) None

Set the seed for random number generation.

This function sets the seed for random number generation in Amplify. This affects randomized encoding methods. Note that this function does not affect the randomness of external solvers used through Amplify clients.

パラメータ:

arg (int) -- Seed value to set.