| Quintiq file version 2.0 | 
| #parent: #root | 
| StaticMethod GetBigMProcessMinQty ( | 
|   const Operation operation, | 
|   const UnitPeriod up, | 
|   Real lowerbound, | 
|   Real qtypto | 
| ) const as Real | 
| { | 
|   Description: 'compute bim for process min qty constraint' | 
|   TextBody: | 
|   [* | 
|     param := 1; // allow up to param * max capacity per op, or actual usage if that is bigger | 
|     maxcapacity := up.GetMaxQuantityForBIGM( operation, param ); // either available hours or quantity | 
|      | 
|     capusageperqty := operation.GetCapacityUsagePerQuantity( up ); | 
|     lwrval := lowerbound * capusageperqty | 
|      | 
|     usageforop := qtypto * capusageperqty;  | 
|      | 
|     bigM := Util::Ceil( maxvalue(  lwrval, maxcapacity, usageforop ) );  | 
|      | 
|     return bigM; | 
|   *] | 
|   InterfaceProperties { Accessibility: 'Module' } | 
| } |