haorenhui
2023-10-30 6d6cc10d9e8e242661da7fd655dec155a09d676c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
Quintiq file version 2.0
#parent: #root
Method SynchronizeAllVariableScaleType #extension
{
  TextBody:
  [*
    type := ScaleTypeMP::GetStringVariableType();
    
    this.SynchronizeScale( typeof( MPBlendingMaxOverVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPBlendingMinUnderVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPCampaignPeriodOverloadedVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTransitionPeriodOverloadedVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type ); 
    this.SynchronizeScale( typeof( MPDemandSlackVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPMetaLimitMaxInventoryPastHorizonSlackVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type ); 
    this.SynchronizeScale( typeof( MPDelayedSalesDemandQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPDelayedDisaggregatedSalesDemandQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPDemandFulfillmentInPISPIPVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPDependentDemandInPISPIPVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPInvQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPPosInvQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPPosInvQtyPastLastVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPMaxCampaignQtyOverVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPMinCampaignQtyUnderVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPMaxInvQtyOverVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPMinInvQtyUnderVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPInvQtySpecPriorToHorizonSlackVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type ); 
    this.SynchronizeScale( typeof( MPMaxSupplyQtyOverVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPMinSupplyQtyUnderVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPMaxPTQtyOverVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPPartialOperationDemandQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPPartialOperationDependentDemandQtySlackNegVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPPartialOperationDependentDemandQtySlackPosVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPPTLotSizeUnderVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPPTLotSizeOverVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPPTQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPPTQtyIsZero_MinProcessBigMVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPPTCampaignQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPPTTransitionQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPOperationInputLotSizeUnderVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPOperationInputLotSizeOverVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPOperationDemandQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPOperationDependentDemandQtySlackNegVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPOperationDependentDemandQtySlackPosVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPOperationInputGroupOverVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPOperationInputGroupUnderVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPOperationInputSetOverVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPOperationInputSetUnderVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPSalesDemandQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPDisaggregatedSalesDemandQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPServiceLevelQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPFulfillmentTargetVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPServiceLevelQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPSPInvQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPStockingPointCapacityOverloadedVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPStockingPointCapacityOverloadedMetaVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPSupplyTargetQtyUnderVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTargetInvQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPInvQtyUnderTargetVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalBlendingVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalCampaignVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalCampaignTransitionOutputVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalFulfillmentVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalLotSizeVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalMaximumInventoryLevelVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalMinimumInventoryLevelVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalMaximumSupplyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalMinimumSupplyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalMinimumUnitCapacityVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalMinimumUnitSecondaryCapacityVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalPostponementPenaltyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalProcessMaximumQuantityVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalProcessMinimumQuantityVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalSalesDemandPriorityVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalFulfillmentTargetVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalServiceLevelVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalSlackVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalSlackUserSupplyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalStockingPointCapacityVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPSPInvOutOfScopeSlackVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalStockingPointCapacityMetaVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalSupplyTargetVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalTargetInvLevelVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalUnitCapacityVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalUnitSecondaryCapacityVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTripDemandQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTripLotSizeUnderVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTripLotSizeOverVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTripNewSupplyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    
    this.SynchronizeScale( typeof( MPUnitCapacityNotMetQuantityVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPUnitCapacityNotMetTimeVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPUnitCapacityOverloadedQuantityVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPUnitCapacityOverloadedTimeVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPUnitSecondaryCapacityNotMetVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPUnitSecondaryCapacityOverloadedVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPUserTotalSupplyOverVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPUserTotalSupplyUnderVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    
    this.SynchronizeScale( typeof( MPShiftPatternIsUsedVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPShiftPatternIsFirstVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPNrShiftPatternChangesVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPTotalShiftPatternChangesPenaltyVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPShiftPatternDurationSlackVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    
    this.SynchronizeScale( typeof( MPOperationInputNrOfLotsVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPCapacitySmoothingSlackVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );  // %
    this.SynchronizeScale( typeof( MPCapacityUsageVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); // %
    this.SynchronizeScale( typeof( MPDifferenceInDemandDaysVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); // Days
    this.SynchronizeScale( typeof( MPMaxCapacityUsageVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); // %
    this.SynchronizeScale( typeof( MPMaxInvInDemandDaysVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); // Days
    this.SynchronizeScale( typeof( MPMinCapacityUsageVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); // %
    this.SynchronizeScale( typeof( MPMinInvInDemandDaysVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); // Days
    this.SynchronizeScale( typeof( MPOverallDiffInvInDemandDaysVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); // Days
    this.SynchronizeScale( typeof( MPOverallMaxInvInDemandDaysVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); // Days
    this.SynchronizeScale( typeof( MPOverallMinInvInDemandDaysVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); // Days
    this.SynchronizeScale( typeof( MPPTNrOfLotsVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );   // #
    this.SynchronizeScale( typeof( MPTripNrOfLotsVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); // #
    this.SynchronizeScale( typeof( MPTotalCapacitySmoothingSlackVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); // %
    this.SynchronizeScale( typeof( MPTotalInventoryMixBalancingVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );  // Days
    this.SynchronizeScale( typeof( MPUnitPeriodNrOfToolChangeVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); //Nr of tool change
    this.SynchronizeScale( typeof( MPUnitPeriodToolIsUsedVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); //Is tool used
    this.SynchronizeScale( typeof( MPGoalForLevelVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type ); // No scaling for a level goal variable
    this.SynchronizeScale( typeof( MPGoalLevelSlackVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type ); // only using the feature for min inventory and safety stock
    this.SynchronizeScale( typeof( MPGoalLevelSlackLotSizeVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type ); 
    this.SynchronizeScale( typeof( MPPTIsUsedVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    
    this.SynchronizeScale( typeof( MPDriverSalesVariable ).ShortName(), Optimization::ScalingTypeNameMonetary(), type );
    this.SynchronizeScale( typeof( MPDriverNrOfUnitsVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPDriverVolumeVariable ).ShortName(), Optimization::ScalingTypeNameMonetary(), type );
    this.SynchronizeScale( typeof( MPDriverFixedVariable ).ShortName(), Optimization::ScalingTypeNameMonetary(), type );
    this.SynchronizeScale( typeof( MPDriverLotVariable ).ShortName(), Optimization::ScalingTypeNameMonetary(), type );
    this.SynchronizeScale( typeof( MPDriverChangeoverVariable ).ShortName(), Optimization::ScalingTypeNameMonetary(), type );         
    this.SynchronizeScale( typeof( MPDriverOneTimeVariable ).ShortName(), Optimization::ScalingTypeNameMonetary(), type );         
    this.SynchronizeScale( typeof( MPDriverStaffingVariable ).ShortName(), Optimization::ScalingTypeNameMonetary(), type );         
    
    this.SynchronizeScale( typeof( MPDriverTimeVariable ).ShortName(), Optimization::ScalingTypeNameTimeAccount(), type );
    
    this.SynchronizeScale( typeof( MPDriverInventoryHoldingVariable ).ShortName(), Optimization::ScalingTypeNameInventoryHolding(), type );
    this.SynchronizeScale( typeof( MPDriverInventory_HoldingVariable ).ShortName(), Optimization::ScalingTypeNameInventoryHolding(), type );
    this.SynchronizeScale( typeof( MPDriverInventoryValueVariable ).ShortName(), Optimization::ScalingTypeNameInventoryHolding(), type );
    
    this.SynchronizeScale( typeof( MPCumulativeProductionVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPCumulativeDemandVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPExpiredVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPCumulativeDemandMaturationVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPCumulativeWasteVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPDelayedDisaggregatedSalesDemandQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPDelayedSalesDemandShelfLifeQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPDemandSlackShelfLifeVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPDependentDemandInPISPIPShelfLifeVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPDisaggregatedSalesDemandShelfLifeQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPExpiredForAgeVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPInvQtyBlockedVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPInvQtyShelfLifeVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPSalesDemandShelfLifeQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPWasteVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    
    this.SynchronizeScale( typeof( MPTotalExpiredQtyVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPPISPTotalExpiryVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    
    this.SynchronizeScale( typeof( MPNewSupplyMaturedVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPMaturationSlackVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    
    this.SynchronizeScale( typeof( MPNrOfCampaignElementWithinUnitSubPeriodVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPIsCampaignCombiSelectedVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPIsFirstCampaignElementTypeVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPIsMultiPeriodsFirstCampaignElementTypeFirstPeriodVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPIsLastCampaignElementTypeVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPPTQtyInCampaignElementTypeStartVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPCampaignElementTypePeriodOverloadedStartVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPDurationOfCampaignElementTypeStartVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPPTQtyInCampaignElementTypeMidVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPCampaignElementTypePeriodOverloadedMidVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPDurationOfCampaignElementTypeMidVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPPTQtyInCampaignElementTypeEndVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPCampaignElementTypePeriodOverloadedEndVariable).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPDurationOfCampaignElementTypeEndVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPCampaignElementTypePeriodUnderloadedStartVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPCampaignElementTypePeriodUnderloadedMidVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPCampaignElementTypePeriodUnderloadedEndVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPIsIncompatibleWithPrevOptSubUnitPeriodLastElementVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPUnderSelectionOfCampaignCombiVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPTotalUnitPeriodCampaignUtilizationSlackVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPTotalCampaignSequencingCombiSlackVariable ).ShortName(), Optimization::ScalingTypeNameNone(), type );
    this.SynchronizeScale( typeof( MPPTQtyInCampaignSlackVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type ); 
    
    //Campaign Utilization
    this.SynchronizeScale( typeof( MPMinCampaignElementTypeQtyUnderMultiVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPMinCampaignElementTypeQtyUnderWithinVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalCampaignMinQtyUnderVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    
    this.SynchronizeScale( typeof( MPMaxCampaignElementTypeQtyOverMultiPeriodVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPMaxCampaignElementTypeQtyOverWithinVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPMaxCampaignElementTypeQtyOverWithinLastVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    this.SynchronizeScale( typeof( MPTotalCampaignMaxQtyOverVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
    
    this.SynchronizeScale( typeof( MPMinCampaignElementTypeDurUnderMultiVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPMinCampaignElementTypeDurUnderWithinVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPTotalCampaignMinDurationUnderVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    
    this.SynchronizeScale( typeof( MPMaxCampaignElementTypeDurOverMultiVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPMaxCampaignElementTypeDurOverWithinVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    this.SynchronizeScale( typeof( MPTotalCampaignMaxDurationOverVariable ).ShortName(), Optimization::ScalingTypeNameTime(), type );
    
    this.SynchronizeScale( typeof( MPTotalCO2EmissionVariable ).ShortName(), Optimization::ScalingTypeNameMass(), type );
  *]
}