MathProgExtensionsWithBounds(VariableBuilderTypeDimension4, FunVec4`1Double, Double) Method

Finalizes the variable builder and returns the resulting 4-dimensional variable VarD4.

The resulting variable has the given lower and upper bounds.

Definition

Namespace: Orx.MathProg
Assembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
C#
public static VarD4 WithBounds(
	this VariableBuilderType<Dimension4> state,
	FunVec4<double> lower,
	double upper
)

Parameters

state  VariableBuilderTypeDimension4
Current state of the variable builder.
lower  FunVec4Double
Functional 4-dimensional vector of lower bounds of the variables.
upper  Double
Functional 4-dimensional vector of upper bounds of the variables.

Return Value

VarD4

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type VariableBuilderTypeDimension4. 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