LinearModel.GetCoefficient Method (Int32, Int32, Int32)

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

Returns the coefficient of the Q matrix on the objective row.

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

Syntax

'Declaration
Public Overridable Function GetCoefficient ( _
    goalRow As Integer, _
    vidVar1 As Integer, _
    vidVar2 As Integer _
) As Rational
public virtual Rational GetCoefficient(
    int goalRow,
    int vidVar1,
    int vidVar2
)
public:
virtual Rational GetCoefficient(
    int goalRow, 
    int vidVar1, 
    int vidVar2
)
abstract GetCoefficient : 
        goalRow:int * 
        vidVar1:int * 
        vidVar2:int -> Rational 
override GetCoefficient : 
        goalRow:int * 
        vidVar1:int * 
        vidVar2:int -> Rational 
public function GetCoefficient(
    goalRow : int, 
    vidVar1 : int, 
    vidVar2 : int
) : Rational

Parameters

  • vidVar2
    Type: System.Int32
    Another column variable identifier.

Return Value

Type: Microsoft.SolverFoundation.Common.Rational
A coefficient value.

Implements

ILinearModel.GetCoefficient(Int32, Int32, Int32)

.NET Framework Security

See Also

Reference

LinearModel Class

GetCoefficient Overload

Microsoft.SolverFoundation.Services Namespace