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.
1using System;
2using System.Xml.Serialization;
3
5
6/// <summary>
7/// Identifies the domain of a mathematical decision variable.
8/// </summary>
9[Serializable]
10[XmlType(TypeName = "mathematicalVariableType")]
12{
13 /// <summary>
14 /// The variable type is unknown.
15 /// </summary>
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>
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>
39
40 /// <summary>
41 /// The variable is either zero or belongs to an integer
42 /// interval bounded away from zero.
43 /// </summary>
45}
MathematicalVariableType
Identifies the domain of a mathematical decision variable.
@ SemiContinuous
The variable is either zero or belongs to a continuous interval bounded away from zero.
@ SemiInteger
The variable is either zero or belongs to an integer interval bounded away from zero.
@ Binary
The variable may take only the values zero and one.
@ Integer
The variable may take only integer values within its bounds.