1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  StaticMethod Create ( 
 |    TempAlgorithmRunStore owner, 
 |    Boolean issmartplan 
 |  ) as AlgorithmRun 
 |  { 
 |    Description: 'Static method to create optimizer level' 
 |    TextBody: 
 |    [* 
 |      notes := ''; 
 |      feasibility := ''; 
 |      result := owner.AlgorithmRun( relnew ); 
 |      macroplan := owner.Optimization().MacroPlan();  
 |      result.Init( macroplan.MDSMacroPlan().Name(),  
 |                   issmartplan,  
 |                   macroplan.StrategyMacroPlan().UseMetaOptimizer() and not issmartplan,  
 |                   macroplan.StrategyMacroPlan().UseCampaignSequenceOptimizer(), 
 |                   macroplan.StrategyMacroPlan().UseShiftOptimization(), 
 |                   notes,  
 |                   feasibility ); // is meta or not  
 |      return result; 
 |    *] 
 |    InterfaceProperties { Accessibility: 'Module' } 
 |  } 
 |  
  |