| Quintiq file version 2.0 | 
| #parent: #root | 
| Method CapacityPlanningAlgorithmInitConstraints_ParallelTypeC ( | 
|   CapacityPlanningSuboptimizer_CapacityPlanningAlgorithm program, | 
|   const constcontent ProductInStockingPointInPeriodPlannings pispipssmartplan, | 
|   const LibOpt_Task task, | 
|   const constcontent ProductInStockingPointInPeriodPlannings pispipsinrun, | 
|   constcontent ProductInStockingPointInPeriodPlanningLeafs leafpispipsinrun, | 
|   const constcontent ProductInStockingPoint_MPs pispsinrun, | 
|   const constcontent ProductInTrips pitinrun | 
| ) const | 
| { | 
|   TextBody: | 
|   [* | 
|     start := OS::PrecisionCounter();  | 
|     runcontext := this.GetRunContextConst();  | 
|     scope := task.Scope(); | 
|      | 
|     thread := 2;  | 
|     this.InitConstraintsForOperationDependentDemands( program, runcontext, scope, thread ); | 
|     this.InitConstraintsForUnitPeriods( program, runcontext, scope ); | 
|     this.InitConstraintsForPISPIPs_TYPEC( program, pispipssmartplan, runcontext, scope, pispipsinrun, leafpispipsinrun, pispsinrun, pitinrun ); | 
|     // not used yet this.InitConstraintsForGoals_TypeB( program, runcontext, task.Scope() );  | 
|      | 
|     this.FilterCPLEXNoiseInitialization( program, runcontext ); | 
|      | 
|     end := OS::PrecisionCounter();  | 
|     durationtypec := (end-start) / OS::PrecisionCounterFrequency();  | 
|     program.StoreReal( 'type_C_constraints', durationtypec ); | 
|   *] | 
|   InterfaceProperties { Accessibility: 'Module' } | 
| } |