admin
2025-01-22 7e31442f0e9b07764e9c6a9680d3d4aeba5fe1de
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
Quintiq file version 2.0
#parent: #root
Method InitConstraintsForPISPIPs_TYPEB (
  CapacityPlanningSuboptimizer_CapacityPlanningAlgorithm program,
  const constcontent ProductInStockingPointInPeriodPlannings smartplanpispips,
  const RunContextForCapacityPlanning runcontext,
  const LibOpt_Scope scope,
  const constcontent ProductInStockingPointInPeriodPlanningLeafs leafpispipsinrun,
  const constcontent ProductInStockingPointInPeriodPlannings pispipsinrun,
  const constcontent ProductInStockingPoint_MPs pispsinrun,
  const constcontent ProductInTrips pitinrun
) const
{
  Description: 'Initialize constraints for pispips'
  TextBody:
  [*
    thread := 1; // 1 = thread B 
    this.InitConstraintsForBalance( program, smartplanpispips, runcontext, scope, leafpispipsinrun, pispsinrun, thread ); 
    this.InitConstraintsForDependentDemandsInPISPIP( program, runcontext, scope, leafpispipsinrun, pitinrun, thread );
    this.InitConstraintsForDemandFulfillmentInPISPIP( program, runcontext, scope, pispipsinrun, thread ); 
    this.InitConstraintsForTripDependentDemands( program, scope, pitinrun, thread );
    //type A this.InitConstraintsForDemandFulfillmentInPISPIP( program, runcontext, scope );
    /* type C: 
    this.InitConstraintsForInventoryMixBalancing( program, runcontext, scope );
    this.InitConstraintsForInventorySpecification( program, scope, runcontext, pispipsinrun );
    this.InitConstraintsForInventorySpecificationHighLevel( program, scope, runcontext, pispipsinrun );
    this.InitConstraintsForHigherLevelSalesDemands( program, scope );
    this.InitConstraintsForPostponedSalesDemands( program, scope );
    this.InitConstraintsForUserTotalSupply( program, runcontext, scope, pispipsinrun );
    this.InitConstraintsForShelfLife( program, runcontext, scope, pispsinrun );
    this.InitConstraintsForMaturation( program, runcontext, scope, pispsinrun );
    */
  *]
  InterfaceProperties { Accessibility: 'Module' }
}