InteriorPointSolver.SetIntegrality Method

Solver Foundation 3.0

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

Sets a value that indicates whether a variable is an integer.

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

public override void SetIntegrality(
	int vid,
	bool fInteger
)

Parameters

vid
Type: System.Int32
The index of the variable.
fInteger
Type: System.Boolean
true to mark the variable as an integer variable; otherwise, false.

Implements

ILinearModel.SetIntegrality(Int32, Boolean)
IRowVariableModel.SetIntegrality(Int32, Boolean)

Show: