Akari
2023-11-02 9d724678a3a6b2934f13c18bda2bb26cb0530320
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Quintiq file version 2.0
#parent: #root
Method ExecuteStrategyReactive (stream[POAAlgorithm] poa) as stream[POAAlgorithm]
{
  Description:
  [*
    To be overridden. Call your POA strategy here.
    By defining the POA strategy in a static method without any references to your model, it will be executed asynchronously when called reactively.
    Make sure to encapsulate your static method with `LibOpt_SuboptimizerPOA::StrategyStart` and `LibOpt_SuboptimizerPOA::StrategyFinish` calls, just like is done in `LibOpt_SuboptimizerPOA::EmptyStrategy`
  *]
  TextBody:
  [*
    // To be overridden. Call your POA strategy here.
    // By defining the POA strategy in a static method without any references to your model, it will be executed asynchronously.
    // Make sure to encapsulate your static method with `LibOpt_SuboptimizerPOA::StrategyStart` and `LibOpt_SuboptimizerPOA::StrategyFinish` calls, just like is done in `LibOpt_SuboptimizerPOA::EmptyStrategy`
    
    return poa->LibOpt_SuboptimizerPOA::EmptyStrategy();
  *]
}