3using System.Threading.Tasks;
4using LotSizingDataModel.Core.PhysicalModel;
5using LotSizingDataModel.Instance;
21 "transportResourceCost";
27 LotSizingInstance instance,
30 ArgumentNullException.ThrowIfNull(instance);
31 ArgumentNullException.ThrowIfNull(options);
34 options.IncludeTransport &&
42 LotSizingInstance instance,
46 CancellationToken cancellationToken)
49 TransportResource resource
50 in instance.SupplyChain.TransportResources)
52 if (resource.FixedUsageCost is
null)
59 period <= instance.PlanningHorizon;
62 cancellationToken.ThrowIfCancellationRequested();
67 .TransportResourceActivation)
80 resource.FixedUsageCost[period]);
84 return ValueTask.CompletedTask;
Provides a fluent builder for linear expressions.
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.
Provides the shared state required while constructing a solver-independent mathematical model.
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 TransportResource
Transport-resource identifier segment.
const string Period
Period index segment.