Intel® oneAPI Math Kernel Library Developer Reference - C

Nonlinear Least Squares Problem with Linear (Bound) Constraints

The nonlinear least squares problem with linear bound constraints is very similar to the nonlinear least squares problem without constraints but it has the following constraints:


Equation

See usage examples in the examples\c\nonlinear_solvers folderof your Intel® oneAPI Math Kernel Library directory. Specifically, see ex_nlsqp_bc_c.c.

Note

There are two options for handling the boundary constraints enabled through the parameter array, see the description of eps[4]
RCI TR Routines for Problem with Bound Constraints

Routine Name

Operation

?trnlspbc_init

Initializes the solver.

?trnlspbc_check

Checks correctness of the input parameters.

?trnlspbc_solve

Solves a nonlinear least squares problem using RCI and the Trust-Region algorithm.

?trnlspbc_get

Retrieves the number of iterations, stop criterion, initial residual, and final residual.

?trnlspbc_delete

Releases allocated data.