The variable is not a decision: the solver is handed its value rather than choosing it, and every use of it means the same sample within a scenario. Two independent random variables are two declarations under two names.
Arguments
- m
A
model().- name
The random variable's name, unique within the model.
- dist
A
distribution()such asnormal(100, 15), or anempirical()column holding one observed value per scenario. May be leftNULLand supplied later withset_distribution().