The SPMAXS, or Max Scenarios Limit, parameter is used to establish a limit on the maximum number of scenarios in a stochastic programming (SP) model before forcing automatic sampling of the random variables.

The SPMAXS parameter defaults to a value of 40,000 scenarios.