Decision Variable Collection.Contains Method
Determines if the specified variable is in the collection.
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
true if the DecisionVariable is in this collection; otherwise, false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public bool Contains(
DecisionVariable item
)
Parameters
- item DecisionVariable
- The DecisionVariable to search for in the collection.
Return Value
Booleantrue if the DecisionVariable is in this collection; otherwise, false.