2using LotSizingDataModel.Core.PhysicalModel;
21 WarehouseReference warehouse,
24 ArgumentException.ThrowIfNullOrWhiteSpace(category);
25 ArgumentNullException.ThrowIfNull(warehouse);
49 int distributionCenterId,
51 WarehouseReference warehouse,
54 ArgumentException.ThrowIfNullOrWhiteSpace(category);
55 ArgumentNullException.ThrowIfNull(warehouse);
101 WarehouseReference destination,
104 ArgumentNullException.ThrowIfNull(destination);
132 int transportResourceId,
133 WarehouseReference origin,
134 WarehouseReference destination,
137 ArgumentNullException.ThrowIfNull(origin);
138 ArgumentNullException.ThrowIfNull(destination);
148 transportResourceId);
Builds stable business-domain keys for mathematical variables and constraints.
string Build()
Builds the immutable domain-key text.
MathematicalDomainKeyBuilder Add(string name, string value)
Adds a text segment.
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.
static MathematicalDomainKeyBuilder AddDestinationWarehouse(MathematicalDomainKeyBuilder builder, WarehouseReference warehouse)
Adds a destination warehouse reference.
static MathematicalDomainKeyBuilder AddOriginWarehouse(MathematicalDomainKeyBuilder builder, WarehouseReference warehouse)
Adds an origin warehouse reference.
Provides the canonical mathematical domain-key categories used to identify lot-sizing decision famili...
const string Production
Identifies production-quantity decision variables.
const string Transport
Identifies transported-quantity decision variables.
const string Procurement
Identifies supplier-procurement decision variables.
Provides the canonical mathematical domain-key segment names used by lot-sizing variables and constra...
const string DistributionCenter
Distribution-center identifier segment.
const string Routing
Routing identifier segment.
const string TransportResource
Transport-resource identifier segment.
const string Item
Item or product identifier segment.
const string Supplier
Supplier identifier segment.
const string Period
Period index segment.