LinearModel.GetVariableEntryCount Method

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

Returns the number of non-zero coefficients for a given column variable index.

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

Syntax

'Declaration
Public Overridable Function GetVariableEntryCount ( _
    vid As Integer _
) As Integer
public virtual int GetVariableEntryCount(
    int vid
)
public:
virtual int GetVariableEntryCount(
    int vid
)
abstract GetVariableEntryCount : 
        vid:int -> int 
override GetVariableEntryCount : 
        vid:int -> int 
public function GetVariableEntryCount(
    vid : int
) : int

Parameters

Return Value

Type: System.Int32
The number of non-zero coefficients for the given column variable index.

Implements

ILinearModel.GetVariableEntryCount(Int32)

.NET Framework Security

See Also

Reference

LinearModel Class

Microsoft.SolverFoundation.Services Namespace