3using System.Threading.Tasks;
4using LotSizingDataModel.Instance;
20 "warehouseResourceCost";
26 LotSizingInstance instance,
29 ArgumentNullException.ThrowIfNull(instance);
30 ArgumentNullException.ThrowIfNull(options);
39 LotSizingInstance instance,
43 CancellationToken cancellationToken)
49 instance.SupplyChain))
51 if (entry.Warehouse.FixedUsageCost is
null)
58 period <= instance.PlanningHorizon;
61 cancellationToken.ThrowIfCancellationRequested();
66 .WarehouseActivation);
80 entry.Warehouse.FixedUsageCost[period]);
84 return ValueTask.CompletedTask;
Provides a fluent builder for linear expressions.
Builds stable business-domain keys for mathematical variables and constraints.
Provides the shared state required while constructing a solver-independent mathematical model.
Creates canonical domain-key fragments shared by standard formulation builders and provides warehouse...
static MathematicalDomainKeyBuilder AddWarehouse(MathematicalDomainKeyBuilder builder, WarehouseReference warehouse)
Adds a warehouse reference using the generic warehouse or plant segment.
Provides the canonical mathematical domain-key categories used to identify lot-sizing decision famili...
Provides the canonical mathematical domain-key segment names used by lot-sizing variables and constra...
const string Period
Period index segment.