initiateOptimization()

This method starts an optimization process, aiming to find the optimal value of a specified machine learning model for the current formulation.

There is no return value to this method, and it returns immediately upon starting the optimization. To get optimization results, use getOptimizationStatus() to track the status of the optimization; once it completes, you can use one of the other methods to get or manipulate the optimization results as appropriate.

This page discusses:

Arguments

  • modelId: String identifying a machine learning model.

    To obtain this ID, use the select() and next() methods in the ML API or other ID-returning methods in that class.

  • inputVals: Optional dictionary mapping parameter IDs to numerical values.

    The method keeps any string inputs to the ML model constant at the current nominal value.

  • constantInputs: Optional list of parameter ID strings specifying input parameters to be held constant in the optimization process.

Return Value

None.