1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  MethodOverride InitConstraintsForUnitPeriods ( 
 |    CapacityPlanningSuboptimizer_CapacityPlanningAlgorithm program, 
 |    const RunContextForCapacityPlanning runcontext, 
 |    const LibOpt_Scope scope, 
 |    const CapacityPlanningSuboptimizer subopt 
 |  ) const 
 |  { 
 |    TextBody: 
 |    [* 
 |      // calling super is not possible because it will call the override method in unit period time base instead of unit period. 
 |       
 |      enableminconst := this.TotalMinimumQuantity() > 0; 
 |       
 |      this.InitConstraintsForUnitPeriodCapacities( program, 
 |                                                   enableminconst, 
 |                                                   this.TotalMinimumQuantity(), 
 |                                                   this.GetTotalAvailableCapacity(),  
 |                                                   runcontext,  
 |                                                   scope,  
 |                                                   subopt ); 
 |    *] 
 |  } 
 |  
  |