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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
| Quintiq file version 2.0
| #parent: #root
| Method RunOptimizer (
| Boolean issmartplan,
| Boolean issmartplanforperiodtask,
| Boolean hastotalsupplyuser,
| Real totalsupplyuser,
| ProductInStockingPointInPeriodPlannings smartplanpispips,
| Boolean isupstreamsmartplan,
| Boolean ismiddleoutsmartplan,
| Boolean isonlyplanonestepupstream,
| Boolean ispostprocessing,
| Boolean isforcenoautoscaling,
| Strategy strategy,
| Boolean isoverridemanualplanning,
| Period_MP periodstart,
| Period_MP periodend,
| Boolean isinventoryoptimizationrun,
| Boolean isusingselectedunits,
| Units units,
| Process_MP process,
| OptimizerPuzzle optimizerpuzzle
| )
| {
| Description: 'Copy the setting from scenario manager and run the optimizer asynchronous. Make selection meta or regular based on attribute.'
| TextBody:
| [*
| algrun := this.InitializeOptimizerRun( issmartplan,
| issmartplanforperiodtask,
| hastotalsupplyuser,
| totalsupplyuser,
| smartplanpispips,
| isupstreamsmartplan,
| ismiddleoutsmartplan,
| isonlyplanonestepupstream,
| ispostprocessing,
| isforcenoautoscaling,
| strategy,
| isoverridemanualplanning,
| periodstart,
| periodend,
| isinventoryoptimizationrun,
| isusingselectedunits,
| units,
| process,
| optimizerpuzzle );
|
| // Run the capacity planning algorithm
| this.RunCapacityPlanningAlgorithm( algrun,
| smartplanpispips,
| periodstart,
| periodend,
| units,
| process,
| optimizerpuzzle );
| *]
| }
|
|