SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 45417: TKTException code = 2 (Floating point divide by zero)

DetailsHotfixAboutRate It
When using SAS® High-Performance Markdown Optimization, online optimization might fail when a GEO/PROD has an actual price of 0 (zero). This failure is shown in the HiPerfMerchIntelGridSvr.log
[Thread-53] DEBUG - 20111222:15.38.22.30: Error: job 'Aggr' encountered a fatal error
[Thread-53] DEBUG - 20111222:15.38.22.30:
[Thread-53] DEBUG - ERROR: TKTException code = 2 (Floating point divide by zero)
Additionally, it is likely that multiple data quality errors will be logged as well (for the same ThreadID):
[Thread-53] DEBUG - 20111222:15.38.32.78: Data Quality Stats:
[Thread-53] DEBUG - 20111222:15.38.32.78: -------------------
[Thread-53] DEBUG - 20111222:15.38.32.78: 12288x: Prod/Geo 1351751/833: Missing forecast
[Thread-53] DEBUG - 20111222:15.38.32.78: 6859x: Prod/Geo 4468851/909: Missing elasticity
[Thread-53] DEBUG - 20111222:15.38.32.78: 9913x: Prod/Geo 886550/666 base forecast is 0.
[Thread-53] DEBUG - 20111222:15.38.32.78: 616x: Prod/Geo 296621/88 Current price 3.570000 violates maximum overall discount of 80.000000. 
[Thread-53] DEBUG - 20111222:15.38.32.78: 12288x: Prod/Geo 2688534/911 Elasticity missing for prod_geo. Possible reason: model group not configured. Default function is log linear.
[Thread-53] DEBUG - 20111222:15.38.32.78: 
[Thread-53] DEBUG - 20111222:15.38.32.79: 
[Thread-53] DEBUG - 20111222:15.38.32.79: Status Stats:
[Thread-53] DEBUG - 20111222:15.38.32.79: -------------
[Thread-53] DEBUG - 20111222:15.38.32.79: Failure with DQ: 1

Missing forecasts or price elasticities should not cause a floating point exception during online optimization.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS High-Performance Markdown OptimizationLinux for x644.3_M15.29.2 TS2M39.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.