Quadratic Program.Set Quadratic Coefficient Method
Definition
Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Set | Sets the coefficient of the quadratic term for the specified variables. |
Set | Sets the coefficient of the quadratic term for the specified variables. |
SetQuadraticCoefficient(DecisionVariable, DecisionVariable, Double)
Sets the coefficient of the quadratic term for the specified variables.
public void SetQuadraticCoefficient(
DecisionVariable variable1,
DecisionVariable variable2,
double value
)
Parameters
- variable1 DecisionVariable
- The first variable.
- variable2 DecisionVariable
- The second variable.
- value Double
- The value of the coefficient.
Exceptions
Argument | variable1 is null. -or- variable2 is null. |
SetQuadraticCoefficient(String, String, Double)
Sets the coefficient of the quadratic term for the specified variables.
public void SetQuadraticCoefficient(
string name1,
string name2,
double value
)
Parameters
Exceptions
Argument | name1 is null. -or- name2 is null. |