UnconstrainedNonlinearModel.SetValue Method

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

Sets the value of model identified by the vid. The default value for a vid is Indeterminate.

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

Syntax

'Declaration
Public Sub SetValue ( _
    vid As Integer, _
    value As Rational _
)
public void SetValue(
    int vid,
    Rational value
)
public:
virtual void SetValue(
    int vid, 
    Rational value
) sealed
abstract SetValue : 
        vid:int * 
        value:Rational -> unit 
override SetValue : 
        vid:int * 
        value:Rational -> unit 
public final function SetValue(
    vid : int, 
    value : Rational
)

Parameters

Implements

IRowVariableModel.SetValue(Int32, Rational)

Remarks

This class can be used to represent not just a model, but also a current state for the model’s variables. The state associates with each vid a current value represented as a Rational. This state will be used as a starting point when solving. Setting a value for a row is ignored by the solver.

.NET Framework Security

See Also

Reference

UnconstrainedNonlinearModel Class

Microsoft.SolverFoundation.Solvers Namespace