INonlinearModel.SetActiveVariables Method

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

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

Syntax

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

Parameters

  • active
    Type: System.Boolean
    The value that specifies whether the variables are active. true to set all variables to active; false to set all variables to inactive.

Exceptions

Exception Condition
ArgumentException

rowVid is not a valid row index.

.NET Framework Security

See Also

Reference

INonlinearModel Interface

Microsoft.SolverFoundation.Services Namespace