public class BoundedVariableLeastSquaresEx1 extends Object
Solves a linear least squares problem with bounds on the variables.
The following example solves a linear least squares problem with bounds on the variables and compares the result to its unbounded solution. The system is \( Ax = b \) where $$A =\begin{pmatrix} 1.0 & -3.0 & 2.0 \\ -3.0 & 10.0 & -5.0 \\ 2.0 & -5.0 & 6.0 \end{pmatrix} $$\( b = (27.0, -78.0, 64.0)^T\) and \( -1.0 \le x_i \le 5.0, i=1,2,3\).
Constructor and Description |
---|
BoundedVariableLeastSquaresEx1() |
Copyright © 2020 Rogue Wave Software. All rights reserved.