







Adds an SOS Constraint of the given SOSType
Namespace: Optimization
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0
Syntax
C# |
---|
public void AddSOS( IDictionary<IVariable, double> variables, SOSType type ) |
Visual Basic |
---|
Public Sub AddSOS ( _ variables As IDictionary(Of IVariable, Double), _ type As SOSType _ ) |
Visual C++ |
---|
public: void AddSOS( IDictionary<IVariable^, double>^ variables, SOSType type ) |
Parameters
- variables
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'IVariable, Double>)>)>
The variables.
- type
- Type: Optimization..::..SOSType
The type.