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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Quintiq file version 2.0
#parent: #root
Method RegisterTypes (
  MathematicalProgram program
) const
{
  TextBody:
  [*
    
    program.RegisterTypeDescriptor( attribute( Period_MP, Start ) );
    program.RegisterTypeDescriptor( attribute( Account_MP, Name ) );
    program.RegisterTypeDescriptor( attribute( StockingPoint_MP, Name ) );
    program.RegisterTypeDescriptor( attribute( AlgorithmRunLevel, Level ) );
    program.RegisterTypeDescriptor( attribute( Operation, ID ) );
    program.RegisterTypeDescriptor( attribute( OperationInputSet, Name ) );
    program.RegisterTypeDescriptor( attribute( Product_MP, Name ) );
    program.RegisterTypeDescriptor( attribute( Trip, ID ) );
    program.RegisterTypeDescriptor( attribute( BaseRecipeIngredient, DisplayName ) );
    
    
    program.RegisterTypeDescriptor( method( LeafSalesDemandInPeriod, NameForOptimizer ) );
    program.RegisterTypeDescriptor( method( DisaggregatedSalesDemandInPeriod, NameForOptimizer ) );
    program.RegisterTypeDescriptor( method( ProcessInputOutput, NameForOptimizer ) ); // Overwrite the method on the inhereted types. ProcessInputOutput is the base type. 
    program.RegisterTypeDescriptor( method( OperationInCampaign, NameForOptimizer ) );
    program.RegisterTypeDescriptor( method( ProductInTrip, NameForOptimizer ) );
    program.RegisterTypeDescriptor( method( ProductInStockingPointInPeriod, NameForOptimizer ) );
    program.RegisterTypeDescriptor( method( UnitPeriod, NameForOptimizer ) );
    program.RegisterTypeDescriptor( method( Campaign_MP, NameForOptimizer ) );
    program.RegisterTypeDescriptor( method( CampaignPeriod_MP, NameForOptimizer ) );
    program.RegisterTypeDescriptor( method( SupplySpecification, NameForOptimizer ) );
    program.RegisterTypeDescriptor( method( StockingPointInPeriod, NameForOptimizer ) ); 
    program.RegisterTypeDescriptor( method( OperationInputGroup, NameForOptimizer ) );   
    
    program.RegisterTypeDescriptor( attribute( IncomingShelfLifeDay, IDForOptimizer ) ); 
    program.RegisterTypeDescriptor( attribute( OutgoingShelfLifeDay, IDForOptimizer ) );
  *]
  InterfaceProperties { Accessibility: 'Module' }
}