NonlinearModel.SetActiveVariables Method (Int32, Boolean)

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

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

public void SetActiveVariables(
	int rowVid,
	bool active
)

Parameters

rowVid
Type: System.Int32
The row index.
active
Type: System.Boolean
true to set all variables to active; false to set all variables to inactive.

Implements

INonlinearModel.SetActiveVariables(Int32, Boolean)

ExceptionCondition
ArgumentException

rowVid is not a valid row index.

Show: