Class BoundedLeastSquaresEx1

java.lang.Object
com.imsl.test.example.math.BoundedLeastSquaresEx1

public class BoundedLeastSquaresEx1 extends Object

Solves a nonlinear least squares problem subject to bounds.

This examples solves the nonlinear least squares problem

$$\min \frac{1}{2}\sum\limits_{i = 0}^1 {f_i \left( x \right)^2 }$$

subject to the bounds

$$- 2 \le x_0 \le 0.5$$ $$-1 \le x_1 \le 2$$

and where

$$f_0 (x) = 10(x_1 - x_0^2 ) \,\, {\rm{and}} \,\, f_1 (x) = (1 - x_0 ).$$
See Also:
  • Constructor Details

    • BoundedLeastSquaresEx1

      public BoundedLeastSquaresEx1()
  • Method Details