yanyuan
2023-11-09 6e0dffe52969c1cbf2b96dd5738f205cee3034ef
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Quintiq file version 2.0
#parent: #root
Method CheckScalingFactors
{
  Description: 'Make sure that the scaling factors are larger than 0'
  TextBody:
  [*
    traverse( this, MacroPlan.Optimization.AlgorithmScaling.ScaleFactor, sf, sf.Value() <= 0 ) 
    {
      sf.Value( 1.0 ); 
      info( 'Error in setup - corrected scale factor to 1.0. Type = ', sf.Type(), 'value = ', sf.Value() ); 
    }
  *]
  InterfaceProperties { Accessibility: 'Module' }
}