Decision.SetInitialValue Method

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides a value that is close to the optimal value of the decision.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public void SetInitialValue(
	Rational value,
	params Object[] indexes
)

Parameters

value
Type: Microsoft.SolverFoundation.Common.Rational
A hint that is close to the optimal value of the decision.
indexes
Type: System.Object[]
A set of decisions, formulas, goals, or constraints in a model.

Some solvers may use the value as a hint to find solutions faster.

Show: