NonlinearModel.SetActiveVariables Method (Int32, 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 specified row to either active or inactive.

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

Syntax

'Declaration
Public Sub SetActiveVariables ( _
    rowVid As Integer, _
    active As Boolean _
)
public void SetActiveVariables(
    int rowVid,
    bool active
)
public:
virtual void SetActiveVariables(
    int rowVid, 
    bool active
) sealed
abstract SetActiveVariables : 
        rowVid:int * 
        active:bool -> unit 
override SetActiveVariables : 
        rowVid:int * 
        active:bool -> unit 
public final function SetActiveVariables(
    rowVid : int, 
    active : boolean
)

Parameters

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

Implements

INonlinearModel.SetActiveVariables(Int32, Boolean)

Exceptions

Exception Condition
ArgumentException

rowVid is not a valid row index.

.NET Framework Security

See Also

Reference

NonlinearModel Class

SetActiveVariables Overload

Microsoft.SolverFoundation.Services Namespace