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' }
|
}
|