MathProgExtensionsIsBinary(VariableBuilderIndicesDimension1) Method

Finalizes the variable builder and returns the resulting 1-dimensional variable VarD1.

The resulting variable is binary (0/1) which can take either value 0 or 1.

Definition

Namespace: Orx.MathProg
Assembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
C#
public static VarD1 IsBinary(
	this VariableBuilderIndices<Dimension1> state
)

Parameters

state  VariableBuilderIndicesDimension1
Current state of the variable builder.

Return Value

VarD1

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type VariableBuilderIndicesDimension1. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also