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
- value
Type: Microsoft.SolverFoundation.Common.Rational
A hint that is close to the optimal value of the decision.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.