Export (0) Print
Expand All

NonlinearModel.SetActiveVariable 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 variable in the specified row to either active or inactive.

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

public void SetActiveVariable(
	int rowVid,
	int varVid,
	bool active
)

Parameters

rowVid
Type: System.Int32
The row index.
varVid
Type: System.Int32
The variable index.
active
Type: System.Boolean
true to make the variable active; false to make the variable inactive.

Implements

INonlinearModel.SetActiveVariable(Int32, Int32, Boolean)

ExceptionCondition
ArgumentException

rowVid is not a valid row index, or varVid is not a valid variable index.

Show:
© 2014 Microsoft