1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method OnConstructedDataset 
 |  { 
 |    Description: 
 |    [* 
 |      There should be no reason to unload a `LibOpt_OptimizerRunController` dataset during an optimizer run. 
 |      Therefore, we can assume that a `LibOpt_OptimizerRunController` only gets unloaded when a server is restarted.  
 |      This implies that any unfinished `LibOpt_ControllerRuns` can be marked as aborted when the `LibOpt_OptimizerRunController` dataset is loaded. 
 |    *] 
 |    TextBody: 
 |    [* 
 |      // evr3 May-2-2022 (created) 
 |      traverse( this,  
 |                ControllerRun,  
 |                run, 
 |                not run.HasStopped() ) 
 |      { 
 |        run.Abort(); 
 |      } 
 |    *] 
 |    InterfaceProperties { Accessibility: 'Module' } 
 |  } 
 |  
  |