| Quintiq file version 2.0 | 
| #parent: #root | 
| Method RunOptimizer () as DialogSelectOptimizer id:Method_ApplicationLibMacroPlanner_RunOptimizer | 
| { | 
|   #keys: '[110704.0.1856927013]' | 
|   Body: | 
|   [* | 
|     //Select planning algorithm | 
|      | 
|     newdlg := null( DialogSelectOptimizer, owning ); | 
|     dlg := Application.Frame().FindChildObject( 'DialogSelectOptimizer' ).astype( DialogSelectOptimizer ); | 
|      | 
|     if( isnull( dlg ) ) | 
|     { | 
|       newdlg := construct( DialogSelectOptimizer ); | 
|       Application.Frame().ShowDialog( &newdlg ); | 
|     } | 
|      | 
|     return ifexpr( isnull( dlg ), newdlg, dlg ); | 
|   *] | 
| } |