OptimizationModelSolver<T>.SetSolution Method

Called by implementations to set basic properties of the solution.

Definition

Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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