Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languageyaml
hierarchies:
  - [product]
  - [customer]
  
spaces:
  - name: ByProduct
    dimensions: [product]
    scopes:
      - name: All
        variables:
          - name: ListPrice
            type: value_finder
            init:
              type: data
              field: historical_list_price
            min:
              type: data
              field: list_price_lower_bound
            max:
              type: data
              field: list_price_upper_bound
            parameters:
              type: explicit
              initial_amplitude:
                 type: inline
                 value: 1
              minimum_amplitude:
                type: inline
                value: 0.00001
              maximum_amplitude:
                type: inline
                value: 100
              increase_coefficient:
                type: inline
                value: 1.2
              decrease_coefficient:
                type: inline
                value: 2
  - name: ByProductAndCustomer
    dimensions: [product, customer]
    scopes:
      - name: All
        variables:
          - name: Volume
            type: static
            init:
              type: data
              field: historical_volume
          - name: Turnover
            type: computed
            inputs:
              type: fixed
              variables:
                - variable: ListPrice
                  space: ProductSpace
                - variable: Volume
            computation: multiplication
        criteria:
          - name: TargetTurnover
            type: target
            on: Turnover
            target:
              type: data
              field: historical_turnover
            precision:
              type: inline
              value: 0.0
            acceptable_delta:
              type: data
              field: target_delta
            priority:
              type: data
              field: target_priority