haorenhui
2023-10-30 6d6cc10d9e8e242661da7fd655dec155a09d676c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Quintiq file version 2.0
#parent: #root
Method Update
{
  Description: 'This method updates several key components of the optimization object such as optimizers, kpis, and replannable snapshots.'
  TextBody:
  [*
    // BLG1 Mar-25-2022 (created)
    //Update the KPI definitions that exist in this dataset based on any model changes that may have occured
    this.UpdateKPIs();
    this.UpdateOptimizers();
    // The state of the other datasets might have been changed.
    // This means that some attributes on the replannable snapshots that are connected to these datasets are outdated.
    // We update these outdated attributes in the below method.
    this.UpdateReplannableSnapshots();
  *]
  InterfaceProperties { Accessibility: 'Module' }
}