UnconstrainedNonlinearModel.IRowVariableModel.SetIntegrality Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Marks a variable as an integer variable
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Private Sub SetIntegrality ( _
vid As Integer, _
fInteger As Boolean _
) Implements IRowVariableModel.SetIntegrality
void IRowVariableModel.SetIntegrality(
int vid,
bool fInteger
)
private:
virtual void SetIntegrality(
int vid,
bool fInteger
) sealed = IRowVariableModel::SetIntegrality
private abstract SetIntegrality :
vid:int *
fInteger:bool -> unit
private override SetIntegrality :
vid:int *
fInteger:bool -> unit
JScript does not support explicit interface implementations.
Parameters
- vid
Type: System.Int32
a variable index
- fInteger
Type: System.Boolean
whether to be an integer variable
Implements
IRowVariableModel.SetIntegrality(Int32, Boolean)
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Not supported by unconstrained solvers |
Remarks
Not supported by unconstrained solvers
.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.