Decision.SetInitialValue Method

[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 Sub SetInitialValue ( _
    value As Rational, _
    ParamArray indexes As Object() _
public void SetInitialValue(
    Rational value,
    params Object[] indexes
void SetInitialValue(
    Rational value, 
    ... array<Object^>^ indexes
member SetInitialValue : 
        value:Rational * 
        indexes:Object[] -> unit 
public function SetInitialValue(
    value : Rational, 
    ... indexes : Object[]


  • indexes
    Type: array<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.

.NET Framework Security

See Also


Decision Class

Microsoft.SolverFoundation.Services Namespace