LinearModel.InitModel Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Allocates data structures for a new model.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Protected Overridable Sub InitModel ( _
comparer As IEqualityComparer(Of Object), _
cvid As Integer, _
crid As Integer, _
cent As Integer _
)
protected virtual void InitModel(
IEqualityComparer<Object> comparer,
int cvid,
int crid,
int cent
)
protected:
virtual void InitModel(
IEqualityComparer<Object^>^ comparer,
int cvid,
int crid,
int cent
)
abstract InitModel :
comparer:IEqualityComparer<Object> *
cvid:int *
crid:int *
cent:int -> unit
override InitModel :
comparer:IEqualityComparer<Object> *
cvid:int *
crid:int *
cent:int -> unit
protected function InitModel(
comparer : IEqualityComparer<Object>,
cvid : int,
crid : int,
cent : int
)
Parameters
- comparer
Type: System.Collections.Generic.IEqualityComparer<Object>
A collection that maps keys to values.
- cvid
Type: System.Int32
A variable index.
- crid
Type: System.Int32
A row index.
- cent
Type: System.Int32
A coefficient value.
.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.