Share via


ILinearModel.SetCoefficient Method (Int32, Int32, Rational)

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

Sets the coefficient of the A matrix in a linear model.

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

Syntax

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

Parameters

Remarks

If num is zero, the entry is removed.

.NET Framework Security

See Also

Reference

ILinearModel Interface

SetCoefficient Overload

Microsoft.SolverFoundation.Services Namespace