HS-1040: Minimization of Internal Rosenbrock Function
Learn how to register a Compose/OML or python function in HyperStudy using the Preference file (.mvw), and then use the registered function for output response evaluation in the study.
The Rosenbrock function is defined as a python or OML script and registered in HyperStudy.
The example defines two input variables labeled x and y, respectively. The objective of the optimization is to minimize f(x,y)= 100*(y-x^2)^2 + (1-x)^2. The range for x and y is set to [-2 ; -2] , and the start point is [-1 ; -1].
Define the Rosenbrock Function
In this step you will define the Rosenbrock function with Compose or Python.
Add the Function to a Preference File
In this step you will add the OML/python function to a Preference file.
-
Add the OML function to the Preference file.
-
Add the python function to a Preference file.