yanweiyuan3
2023-08-09 588bc7829387dfc761cc25f06f77d4c81818bd10
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
StaticMethod FinalizePOA (POAAlgorithm poa)
{
  Description:
  [*
    This method should be called immediately when POA finishes.
    
    This commits the POA and it stops the stopwatch.
  *]
  TextBody:
  [*
    
    // This method needs to be called for a constructible POA to:
    // - Copy poa.Strategy().BestSolution() to poa.Solution().
    // - Commit the results of the run to the POA Analyzer.
    poa.FinalizeExecution();
    
    // Stop measuring the framework-solve duration at POA's exit point in the LibOpt framework.
    LibOpt_AlgorithmStopwatch::Stop( poa, LibOpt_SnapshotAlgorithm::FrameworkSolve() );
  *]
  InterfaceProperties { Accessibility: 'Module' }
}