OptimizationModelSolver<T>.SetSolution Method

Called by implementations to set basic properties of the solution.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
protected void SetSolution(
	T model,
	OptimizationModelStatus status,
	double value,
	Vector<double> x,
	Vector<double> y
)

Parameters

model  T
The model that was solved.
status  OptimizationModelStatus
The status of the optimization calculation.
value  Double
The optimal value.
x  Vector<Double>
The (primal) solution of the model.
y  Vector<Double>
If applicable, the dual solution of the model.

See Also