UnconstrainedNonlinearModel.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 row to be active or inactive

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

void INonlinearModel.SetActiveVariables(
	int rowVid,
	bool active
)

Parameters

rowVid
Type: System.Int32
the row index
active
Type: System.Boolean
if true, all variables become active, if false all variables become inactive

Implements

INonlinearModel.SetActiveVariables(Int32, Boolean)

ExceptionCondition
ArgumentException

rowVid is not a legal row index

NotSupportedException

All variables should be active

Not supported by unconstrained solvers

Show: