public class NonNegativeLeastSquaresEx1 extends Object
Solves a nonnegative least squares problem.
Consider the following problem: [1−32−310−52−56][x1x2x3]=[27−7864]Subject to the constraint x≥0. The NonNegativeLeastSquares class is used to compute a solution, which is compared to the exact solution of [1,−4,7].
Constructor and Description |
---|
NonNegativeLeastSquaresEx1() |
Copyright © 2020 Rogue Wave Software. All rights reserved.