NonlinearProgram.SolveModel Method

Solves the nonlinear program and returns the primal solution.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
protected override OptimizationSolutionReport SolveModel()

Return Value

OptimizationSolutionReport
A dense vector containing the optimal solution.

Remarks

You should check the Status property to make sure that the solution is valid.

See Also