admin
2025-01-22 7e31442f0e9b07764e9c6a9680d3d4aeba5fe1de
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();
  *]
}