Quintiq file version 2.0
|
#parent: #root
|
Method ResetStatisticsForScalingTypes
|
{
|
Description: 'Will create a ScalingType instance for all scaling types and a CoefficientScaling instance for all possible combinations'
|
TextBody:
|
[*
|
macroplan := this.Optimization().astype( Optimization ).MacroPlan();
|
run := macroplan.GetLastAlgorithmRun();
|
|
traverse( run, ScalingType_Lib, scalingtype )
|
{
|
scalingtype.ResetStatistics();
|
}
|
|
traverse( run, ScalingType_Lib.AsConstraintScalingType, coeffscaling )
|
{
|
coeffscaling.ResetStatistics();
|
}
|
*]
|
InterfaceProperties { Accessibility: 'Module' }
|
}
|