







|
| Optimization Framework |
| Variable..::..LessThanOrEqual Operator (Variable, Double) |
| Variable Class See Also Send Feedback |
Implements the operator <=.
Namespace: Optimization
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0
Syntax
| C# |
|---|
public static Constraint operator <=( Variable variable, double constant ) |
| Visual Basic |
|---|
Public Shared Operator <= ( _ variable As Variable, _ constant As Double _ ) As Constraint |
| Visual C++ |
|---|
public: static Constraint^ operator <=( Variable^ variable, double constant ) |
Parameters
- variable
- Type: Optimization..::..Variable
The variable.
- constant
- Type: System..::..Double
The constant.
Return Value
The result of the operator.
Contracts
| Requires |
|---|
!variable.Equals(null) |
| Ensures |
|---|
Contract.Result<Constraint>() != null |
