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
| Quintiq file version 2.0
| #parent: #root
| Method ActivateGoals (
| CapacityPlanningSuboptimizer_CapacityPlanningAlgorithm program,
| const RunContextForCapacityPlanning runcontext,
| const LibOpt_Scope scope
| ) const
| {
| Description: 'Activate goal of current level, deactivate previous level goal, and freeze total goal value of previous goal'
| TextBody:
| [*
| program.StoreReal( 'ActivateGoals_actualtime', DateTime::ActualTime().MinutesAsReal( this.BaseForActualTime() ) ); // workaround because cannot write to model here
|
| this.SetInitialCPLEXParameters( program, runcontext );
|
| if ( this.UseHierarchicalCPLEXGoals() )
| {
| this.ActivateHierarchicalGoals( program, runcontext, scope );
| }
| else
| {
| this.ActivateNonHierarchicalGoals( program, runcontext, scope );
| }
| *]
| InterfaceProperties { Accessibility: 'Module' }
| }
|
|