







![]() ![]() |
Optimization Framework |
VariableCollection..::..SetVariableValues Method |
VariableCollection Class See Also Send Feedback |
Sets the value property for each variable in this VariableCollection to the corresponding value in the parameter 'values'. The matching happens by string comparison of the name of the variable.
Namespace: Optimization
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0
Syntax
C# |
---|
public void SetVariableValues( IDictionary<string, double> values ) |
Visual Basic |
---|
Public Sub SetVariableValues ( _ values As IDictionary(Of String, Double) _ ) |
Visual C++ |
---|
public: void SetVariableValues( IDictionary<String^, double>^ values ) |
Parameters
- values
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, Double>)>)>
The values for the variables (e.g. coming from a solution)