Constraint Constructor

Fabrica Bolos GLPK

Collapse imageExpand ImageCopy imageCopyHover image
Initializes a new instance of the Constraint class.

Namespace: Optimization
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0

Syntax

C#
public Constraint(
	Expression expression,
	string name,
	double lowerBound,
	double upperBound,
	int stochasticStage
)
Visual Basic
Public Sub New ( _
	expression As Expression, _
	name As String, _
	lowerBound As Double, _
	upperBound As Double, _
	stochasticStage As Integer _
)
Visual C++
public:
Constraint(
	Expression^ expression, 
	String^ name, 
	double lowerBound, 
	double upperBound, 
	int stochasticStage
)

Parameters

expression
Type: Optimization..::..Expression
The expression.
name
Type: System..::..String
The name.
lowerBound
Type: System..::..Double
The lower bound.
upperBound
Type: System..::..Double
The upper bound.
stochasticStage
Type: System..::..Int32
The stochastic stage of this constraint

See Also