NonlinearModel.SetActiveVariables Method (Boolean)
[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)
Syntax
'Declaration
Public Overridable Sub SetActiveVariables ( _
active As Boolean _
)
public virtual void SetActiveVariables(
bool active
)
public:
virtual void SetActiveVariables(
bool active
)
abstract SetActiveVariables :
active:bool -> unit
override SetActiveVariables :
active:bool -> unit
public function SetActiveVariables(
active : boolean
)
Parameters
- active
Type: System.Boolean
true to set all variables to active; false to set all variables to inactive.
Remarks
This methods sets all variables in all rows, including goal rows, to active.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.