Export (0) Print
Expand All

INonlinearModel.SetActiveVariables 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 all variables in a specified row to either active or inactive.

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

void SetActiveVariables(
	int rowVid,
	bool active
)

Parameters

rowVid
Type: System.Int32
The row index.
active
Type: System.Boolean
The value that specifies whether the variables are active. true to set all variables to active; false to set all variables to inactive.

ExceptionCondition
ArgumentException

rowVid is not a valid row index.

Show:
© 2014 Microsoft