Share via


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)

Syntax

'Declaration
Public Sub SetInitialValue ( _
    value As Rational, _
    ParamArray indexes As Object() _
)
public void SetInitialValue(
    Rational value,
    params Object[] indexes
)
public:
void SetInitialValue(
    Rational value, 
    ... array<Object^>^ indexes
)
member SetInitialValue : 
        value:Rational * 
        indexes:Object[] -> unit 
public function SetInitialValue(
    value : Rational, 
    ... indexes : Object[]
)

Parameters

  • indexes
    Type: array<System.Object[]
    A set of decisions, formulas, goals, or constraints in a model.

Remarks

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

.NET Framework Security

See Also

Reference

Decision Class

Microsoft.SolverFoundation.Services Namespace