27 LotSizingInstance instance,
31 CancellationToken cancellationToken)
33 ProductionSchedulingProfile profile =
34 instance.SupplyChain.WorkCenters
35 .Single(workCenter => workCenter.SchedulingProfile is not
null)
38 foreach (ProductionRouting routing
39 in instance.SupplyChain.ProductionRoutings)
42 routing.WorkCenters.Single();
44 ProductionCharacteristic characteristic =
45 instance.SupplyChain.ProductionCharacteristics.Single(
47 candidate.ItemId == routing.ItemId &&
48 candidate.WorkCenter.PlantId == reference.PlantId &&
49 candidate.WorkCenter.WorkCenterId == reference.WorkCenterId);
51 if (characteristic.StartUpCost is
null)
57 period <= instance.PlanningHorizon;
61 characteristic.StartUpCost[period];
79 return ValueTask.CompletedTask;