LotSizingDataModel.Solver 2.0.1
Solver-independent modeling, execution, monitoring and adapter infrastructure.
Loading...
Searching...
No Matches
SmallBucketSchedulingFormulationFactory.cs
Go to the documentation of this file.
2
4{
8
11 {
12 var options =
14 {
15 IncludeProductionSetups=false
16 };
17
18 var variables =
20 .Where(
21 builder =>
22 builder is not SetupVariableFamilyBuilder &&
25 .Concat(
27 {
32 })
33 .ToArray();
34
35 var objective =
37 .Where(
38 builder =>
41 .Concat(
43 {
46 })
47 .ToArray();
48
49 var scheduling =
50 new List<IStandardLotSizingConstraintFamilyBuilder>
51 {
61 };
62
64 {
65 scheduling.Add(
67 }
68
70 {
71 scheduling.Add(
73 }
74
75 var constraints =
77 .Where(
78 builder =>
84 builder is not GroupingConstraintFamilyBuilder &&
87 .Concat(scheduling)
88 .ToArray();
89
91 kind,
95 options,
97 }
98}
Enforces the minimum temporal spacing between consecutive production setups defined by each routing g...
Builds the auxiliary integer multipliers required by production lot-size-multiple constraints.
Enforces period-specific zero-transition PLSP buckets. A limit of one is already intrinsic to the inc...
PLSP end-of-bucket state: exactly one setup state is carried from every bucket into the next one.
Builds the production-setup variable family of the standard lot-sizing formulation.
Enforces the real period-dependent MaximumProducedItemCount parameter from positive-production activa...
Builds CSLP/PLSP capacity with additive production, setup-start and start-up time contributions.
static SmallBucketSchedulingFormulation Create(SmallBucketSchedulingFormulationKind kind)
Solver-independent executable MILP formulation for one canonical small-bucket scheduling family.
Synchronizes the distinct start-up event with the exact small-bucket setup-start occurrence.
Builds all constraint families of the standard lot-sizing formulation.
Creates fully configured instances of the standard solver-independent lot-sizing formulation.
static IReadOnlyList< IStandardLotSizingVariableFamilyBuilder > CreateVariableFamilyBuilders()
Creates the ordered standard variable-family builders.
static IReadOnlyList< IStandardLotSizingConstraintFamilyBuilder > CreateConstraintFamilyBuilders()
Creates the ordered standard constraint-family builders.
static IReadOnlyList< IStandardLotSizingObjectiveTermBuilder > CreateObjectiveTermBuilders()
Creates the ordered standard objective-term builders.
Configures the standard solver-independent mixed-integer lot-sizing formulation.
Builds the complete linear objective of the standard lot-sizing formulation from registered objective...
Aggregates the variable-family builders used by the standard lot-sizing formulation.
Defines one cost-term family of the standard lot-sizing objective function.
Defines one decision-variable family of the standard lot-sizing formulation.
SmallBucketSchedulingFormulationKind
Executable small-bucket scheduling formulation variants.