Click or drag to resize

ConstrainedLeastSquaresSolve(ConstrainedLeastSquaresProblem, InteriorPointQPSolver, InteriorPointQPSolverParams) Method

Solves the given least squares problem using an interior point quadratic programming solver.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public bool Solve(
	ConstrainedLeastSquaresProblem problem,
	InteriorPointQPSolver solver,
	InteriorPointQPSolverParams qpSolverParams = null
)

Parameters

problem  ConstrainedLeastSquaresProblem
A constrained least squares problem.
solver  InteriorPointQPSolver
An instance of the QP solver to use.
qpSolverParams  InteriorPointQPSolverParams  (Optional)
Optional solver parameters for the passed QP solver. If none are provided default values will be used.

Return Value

Boolean
true if the solver is successful
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the dimension of the matrix A and the vector b do not match for the problem Ax = b.
See Also