Constraint | Constraint of a mathematical model. |
ConstraintExpr |
A constraint expression which is composed of three parts:
|
ForAllSets |
Forall sets expression of a constraint defining its expansion.
Consider for instance the following big-m constraint. C#
|
MathExpr | A linear mathematical expression. |
MathModel |
A methematical model, which is composed of:
Below is a complete definition of a multi commodity minimum cost network flow problem on an adjacency graph. C#
|
MathProgExtensions | Necessary extensions methods for enabling mathematical programming. |
Objective |
An objective function of a mathematical program.
It is composed of two parts:
C#
|
ParD0 |
A 0-dimensional (scalar) parameter symbol.
Parameters represents constants for the mathematical model, values of which can lazily be evaluated. |
ParD1 |
A 1-dimensional (array) parameter symbol.
Parameters represents constants for the mathematical model, values of which can lazily be evaluated. |
ParD2 |
A 2-dimensional (array) parameter symbol, having two indices.
Parameters represents constants for the mathematical model, values of which can lazily be evaluated. |
ParD3 |
A 3-dimensional (array) parameter symbol, having three indices.
Parameters represents constants for the mathematical model, values of which can lazily be evaluated. |
ParD4 |
A 4-dimensional (array) parameter symbol, having three indices.
Parameters represents constants for the mathematical model, values of which can lazily be evaluated. |
Sca |
A scalar with a constant value in the mathematical programming sense.
In other words, its value is known to the mathematical program; although its value might be lazily evaluated from an expression including sets or parameters.
Below is a list of example scalars. C#
|
Set |
A set / index to be used in constraints' forall expressions, summations' sum over expressions and finally as indices of variables and parameters having a dimension >= 1.
A set is constructed using builder pattern that can be initiated by Set(String) function. The following example demonstrates construction of sets. C#
The following flow balance constraint demonstrates the usage of the sets. C#
|
Summation |
Summation of a linear mathematical expression over a set of indices.
Some examples are as follows: C#
C#
|
SumOverSets | Sets to sum over a linear mathematical expression. |
Term |
A linear mathematical term in the form of 'Sca · Var'. For instance:
|
Var | A scalar decision variable. For example: |
VarD0 | A 0-dimensional (scalar) variable symbol. |
VarD1 | A 1-dimensional (array) variable symbol. |
VarD2 | A 2-dimensional variable symbol, having two indices. |
VarD3 | A 3-dimensional variable symbol, having three indices. |
VarD4 | A 4-dimensional variable symbol, having three indices. |
BoundsD0 | Bounds of a 0-dimensional variable, VarD0. |
BoundsD1 | Bounds of a 1-dimensional variable, VarD1. |
BoundsD2 | Bounds of a 2-dimensional variable, VarD2. |
BoundsD3 | Bounds of a 3-dimensional variable, VarD3. |
BoundsD4 | Bounds of a 4-dimensional variable, VarD4. |
ConstrKeyDefnForall |
Constraint builder state containing key, definition and forall expression.
Obsolete. |
Dimension0 | Zero-dimensional, scalar. |
Dimension1 | One-dimensional, vector. |
Dimension2 | Two-dimensional. |
Dimension3 | Three-dimensional. |
Dimension4 | Four-dimensional. |
Direction |
Objective function builder state containing objective direction information.
Obsolete. |
ModelBuilderDefinition | Mathematical model builder containing key and definition information. |
ModelBuilderKey | Mathematical model builder containing key information. |
ModelBuilderObjective | Mathematical model builder containing key, definition and objective information. |
ObjKeyDefnDir |
Objective function builder state containing key and objective direction information.
Obsolete. |
ObjOrConstrKeyDefn |
Objective function or constraint builder state containing key and definition information.
Obsolete. |
ParameterBuilderDefinition |
Parameter builder containing key and definition information.
Obsolete. |
ParameterBuilderIndicesDim |
Parameter builder containing key, definition and indices information.
Obsolete. |
ParameterBuilderKey |
Parameter builder containing key information.
Obsolete. |
SetBuilderDefinition |
Set builder containing set key and definition information.
Obsolete. |
SetBuilderDependsDim |
Set builder containing set key, definition and dependent sets information.
Obsolete. |
SetBuilderKey |
Set builder containing set key information.
Obsolete. |
SymbolKey |
Key of a mathematical programming symbol.
Obsolete. |
VariableBuilderDefinition |
Variable builder containing key and definition information.
Obsolete. |
VariableBuilderIndicesDim |
Variable builder containing key, definition and indices information.
Obsolete. |
VariableBuilderKey |
Variable builder containing key information.
Obsolete. |
VariableBuilderTypeDim |
Variable builder containing key, definition, indices and type information.
Obsolete. |
IDimension | Marker interface for variable or parameter dimensions. |
ISolver | Marker interface for solvers. |
BoundsType | Type of variable bounds. |
ConstraintRelation | Constraint relation. |
ObjectiveDirection | Objective function direction: minimize or maximize. |
VariableType | Variable type. |