NonlinearModel.SetActiveVariables Method (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 model to either active or inactive.

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

public virtual void SetActiveVariables(
	bool active


Type: System.Boolean
true to set all variables to active; false to set all variables to inactive.

This methods sets all variables in all rows, including goal rows, to active.