LotSizingDataModel.Solver
2.0.1
Solver-independent modeling, execution, monitoring and adapter infrastructure.
Loading...
Searching...
No Matches
MathematicalVariableType.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Xml.Serialization;
3
4
namespace
LotSizingDataModel.Solver.Modeling
;
5
6
/// <summary>
7
/// Identifies the domain of a mathematical decision variable.
8
/// </summary>
9
[Serializable]
10
[XmlType(TypeName =
"mathematicalVariableType"
)]
11
public
enum
MathematicalVariableType
12
{
13
/// <summary>
14
/// The variable type is unknown.
15
/// </summary>
16
Unknown
= 0,
17
18
/// <summary>
19
/// The variable may take any real value within its bounds.
20
/// </summary>
21
Continuous = 1,
22
23
/// <summary>
24
/// The variable may take only integer values within its
25
/// bounds.
26
/// </summary>
27
Integer
= 2,
28
29
/// <summary>
30
/// The variable may take only the values zero and one.
31
/// </summary>
32
Binary
= 3,
33
34
/// <summary>
35
/// The variable is either zero or belongs to a continuous
36
/// interval bounded away from zero.
37
/// </summary>
38
SemiContinuous
= 4,
39
40
/// <summary>
41
/// The variable is either zero or belongs to an integer
42
/// interval bounded away from zero.
43
/// </summary>
44
SemiInteger
= 5
45
}
LotSizingDataModel.Solver.Modeling
Definition
LinearConstraint.cs:4
LotSizingDataModel.Solver.Modeling.MathematicalConstraintSense.Unknown
@ Unknown
The constraint sense is unknown.
Definition
MathematicalConstraintSense.cs:17
LotSizingDataModel.Solver.Modeling.MathematicalVariableType
MathematicalVariableType
Identifies the domain of a mathematical decision variable.
Definition
MathematicalVariableType.cs:12
LotSizingDataModel.Solver.Modeling.MathematicalVariableType.SemiContinuous
@ SemiContinuous
The variable is either zero or belongs to a continuous interval bounded away from zero.
Definition
MathematicalVariableType.cs:38
LotSizingDataModel.Solver.Modeling.MathematicalVariableType.SemiInteger
@ SemiInteger
The variable is either zero or belongs to an integer interval bounded away from zero.
Definition
MathematicalVariableType.cs:44
LotSizingDataModel.Solver.Modeling.MathematicalVariableType.Binary
@ Binary
The variable may take only the values zero and one.
Definition
MathematicalVariableType.cs:32
LotSizingDataModel.Solver.Modeling.MathematicalVariableType.Integer
@ Integer
The variable may take only integer values within its bounds.
Definition
MathematicalVariableType.cs:27
LotSizingDataModel.Solver
Modeling
MathematicalVariableType.cs
Generated by
1.17.0