# Nonlinear Least Squares Problem with Linear (Bound) Constraints

The nonlinear least squares problem with linear bound constraints can be described and solved in the same way as the nonlinear least squares problem without constraints but it has the following constraints:

RCI TR Routines for Problem with Bound Constraints
Routine Name | Operation
--- | ---
dtrnlspbc_init | Initializes the solver.
dtrnlspbc_solve | Solves a nonlinear least squares problem on the basis of RCI using the Trust-Region algorithm.
dtrnlspbc_get | Retrieves the number of iterations, stop criterion, initial residual, and final residual.
dtrnlspbc_delete | Removes data.

- dtrnlspbc_init
  Initializes the solver of nonlinear least squares problem with linear (boundary) constraints.
- dtrnlspbc_solve
  Solves a nonlinear least squares problem with linear (bound) constraints using theTrust-Region algorithm.
- dtrnlspbc_get
  Retrieves the number of iterations, stop criterion, initial residual, and final residual.
- dtrnlspbc_delete
  Removes the data object required by the TR solver.
- Examples of dtrnlspbc Usage

Parent topic: Optimization Solver Routines