Solves the given convex quadratic programming problem.
Namespace:
CenterSpace.NMath.AnalysisAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public bool Solve( QuadraticProgrammingProblem problem, DoubleVector startingPoint ) |
| Visual Basic (Declaration) |
|---|
Public Function Solve ( _ problem As QuadraticProgrammingProblem, _ startingPoint As DoubleVector _ ) As Boolean |
| Visual C++ |
|---|
public: bool Solve( QuadraticProgrammingProblem^ problem, DoubleVector^ startingPoint ) |
Parameters
- problem
- Type: CenterSpace.NMath.Analysis..::.QuadraticProgrammingProblem
The convex quadratic programming problem.
- startingPoint
- Type: CenterSpace.NMath.Core..::.DoubleVector
A starting point for the solution search. Need not be a feasible point.
Return Value
true if the algorithm terminated successfully.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the matrix problem.H is not positve definite, and thus the problem is not convex. |