A non-transitory machine-readable storage medium on which is stored a computer program for ascertaining a control strategy for a technical system using a Bayesian optimization method, the control strategy being created based on model parameters of a control model and being executable, the computer program, when executed by a computer, causing the computer to perform the following steps for optimization of the controlling:
- providing a quality function whose shape corresponds to a regression function and that evaluates a quality of a controlling of the technical system based on the model parameters;
- carrying out a Bayesian optimization method based on the quality function to iteratively ascertain a model parameter set having the model parameters within a model parameter domain that indicates permissible value ranges for the model parameters;
- and
- determining the model parameter domain for at least one of the model parameters as a function of an associated maximum a posteriori estimated value of the quality function.