Dakota Reference Manual: Rosenbrock

| Dakota Reference Manual Version 6.15 Explore and Predict with Confidence

- Main Page
- Related Pages

All Pages
Rosenbrock

The Rosenbrock function[32] is a well-known test problem for optimization algorithms. The standard formulation includes two design variables, and computes a single objective function. This problem can also be posed as a least-squares optimization problem with two residuals to be minimzed because the objective function is the sum of squared terms.

Standard Formulation

The standard two-dimensional formulation can be stated as

Surface and contour plots for this function are shown in the Dakota User's Manual.

The optimal solution is:

with

A Least-Squares Optimization Formulation

This test problem may also be used to exercise least-squares solution methods by recasting the standard problem formulation into:

where

and

are residual terms.

The included analysis driver can handle both formulations. In the `dakota/share/dakota/test` directory, the `rosenbrock` executable (compiled from `Dakota_Source/test/rosenbrock.cpp`) checks the number of response functions passed in the parameters file and returns either an objective function (as computed from Equation rosenstd) for use with optimization methods or two least squares terms (as computed from Equations rosenr1 -rosenr2 ) for use with least squares methods. Both cases support analytic gradients of the function set with respect to the design variables. See the User's Manual for examples of both cases (search for Rosenbrock).