LotSizingDataModel.Solver
2.0.1
Solver-independent modeling, execution, monitoring and adapter infrastructure.
Loading...
Searching...
No Matches
ParallelRoutingSetupStartLimitPolicy.cs
Go to the documentation of this file.
1
using
LotSizingDataModel.Instance.Analysis;
2
3
namespace
LotSizingDataModel.Solver.Formulation
;
4
5
public
sealed
class
ParallelRoutingSetupStartLimitPolicy
6
{
7
public
int
MaximumConcurrentSetupStartsPerItem
8
{
9
get
;
10
init;
11
} =
12
1;
13
14
public
ParallelSchedulingCoordinationScope
Scope
15
{
16
get
;
17
init;
18
} =
19
ParallelSchedulingCoordinationScope.AcrossAllSites;
20
21
public
void
EnsureValid
()
22
{
23
if
(
MaximumConcurrentSetupStartsPerItem
<= 0)
24
{
25
throw
new
InvalidOperationException(
26
"Maximum concurrent setup starts per item must be strictly positive."
);
27
}
28
}
29
}
LotSizingDataModel.Solver.Formulation.ParallelRoutingSetupStartLimitPolicy
Definition
ParallelRoutingSetupStartLimitPolicy.cs:6
LotSizingDataModel.Solver.Formulation.ParallelRoutingSetupStartLimitPolicy.Scope
ParallelSchedulingCoordinationScope Scope
Definition
ParallelRoutingSetupStartLimitPolicy.cs:15
LotSizingDataModel.Solver.Formulation.ParallelRoutingSetupStartLimitPolicy.MaximumConcurrentSetupStartsPerItem
int MaximumConcurrentSetupStartsPerItem
Definition
ParallelRoutingSetupStartLimitPolicy.cs:8
LotSizingDataModel.Solver.Formulation.ParallelRoutingSetupStartLimitPolicy.EnsureValid
void EnsureValid()
Definition
ParallelRoutingSetupStartLimitPolicy.cs:21
LotSizingDataModel.Solver.Formulation
Definition
BacklogCostObjectiveTermBuilder.cs:9
LotSizingDataModel.Solver
Formulation
ParallelRoutingSetupStartLimitPolicy.cs
Generated by
1.17.0