ILinearModel.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 a linear model.

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

Syntax

'Declaration
Sub SetValue ( _
    vid As Integer, _
    num As Rational _
)
void SetValue(
    int vid,
    Rational num
)
void SetValue(
    int vid, 
    Rational num
)
abstract SetValue : 
        vid:int * 
        num:Rational -> unit 
function SetValue(
    vid : int, 
    num : Rational
)

Parameters

Remarks

The default value for a variable index is Indeterminate.

An ILinearModel object can represent a linear model or the current state of the model's user and row variables. The state associates each variable index with a current value, represented as a Rational, and a basis status, represented as a boolean. This state may be used as a starting point when solving, and the state may be updated by a solve attempt. Some solvers may ignore this initial state for rows and even for variables.

.NET Framework Security

See Also

Reference

ILinearModel Interface

Microsoft.SolverFoundation.Services Namespace