1using LotSizingDataModel.Core.Relationships;
2using LotSizingDataModel.Instance;
14 LotSizingInstance instance,
17 CancellationToken cancellationToken)
19 (
int plantId, var workCenter, var profile) =
21 IReadOnlyList<ProductionRouting> routings =
24 foreach (var microPeriod
in profile.EnumerateMicroPeriods())
27 foreach (ProductionRouting routing
in routings)
31 plantId, workCenter.Id, routing.Id, routing.ItemId, microPeriod)));
36 $
"glspSingleSetup_t{microPeriod.MacroPeriod}_s{microPeriod.MicroPeriodIndex}",
40 description:
"Exactly one setup state is active in every GLSP micro-period.");
43 return ValueTask.CompletedTask;
Provides a fluent builder for linear expressions.
Provides the shared state required while constructing a solver-independent mathematical model.
MathematicalConstraintSense
Identifies the relational sense of a mathematical constraint.