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
- goalRow
Type: System.Int32
A goal row.
- vidVar1
Type: System.Int32
A column variable identifier.
- 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
- 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.