Advertisement
Guest User

Untitled

a guest
Oct 21st, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 29.83 KB | None | 0 0
  1. OrderedDict([('agent', 'a2c'),
  2.              ('states',
  3.               {'MID_1_bid_0': {'price': {'max_value': 2000,
  4.                                          'min_value': 0,
  5.                                          'shape': (),
  6.                                          'type': 'float'},
  7.                                'promise_date': {'num_values': 10,
  8.                                                 'shape': (),
  9.                                                 'type': 'int'},
  10.                                'qty': {'max_value': 200000,
  11.                                        'min_value': 0,
  12.                                        'shape': (),
  13.                                        'type': 'float'},
  14.                                'supplier_tier': {'num_values': 4,
  15.                                                  'shape': (),
  16.                                                  'type': 'int'}},
  17.                'MID_1_bid_1': {'price': {'max_value': 2000,
  18.                                          'min_value': 0,
  19.                                          'shape': (),
  20.                                          'type': 'float'},
  21.                                'promise_date': {'num_values': 10,
  22.                                                 'shape': (),
  23.                                                 'type': 'int'},
  24.                                'qty': {'max_value': 200000,
  25.                                        'min_value': 0,
  26.                                        'shape': (),
  27.                                        'type': 'float'},
  28.                                'supplier_tier': {'num_values': 4,
  29.                                                  'shape': (),
  30.                                                  'type': 'int'}},
  31.                'MID_1_bid_2': {'price': {'max_value': 2000,
  32.                                          'min_value': 0,
  33.                                          'shape': (),
  34.                                          'type': 'float'},
  35.                                'promise_date': {'num_values': 10,
  36.                                                 'shape': (),
  37.                                                 'type': 'int'},
  38.                                'qty': {'max_value': 200000,
  39.                                        'min_value': 0,
  40.                                        'shape': (),
  41.                                        'type': 'float'},
  42.                                'supplier_tier': {'num_values': 4,
  43.                                                  'shape': (),
  44.                                                  'type': 'int'}},
  45.                'MID_1_bid_3': {'price': {'max_value': 2000,
  46.                                          'min_value': 0,
  47.                                          'shape': (),
  48.                                          'type': 'float'},
  49.                                'promise_date': {'num_values': 10,
  50.                                                 'shape': (),
  51.                                                 'type': 'int'},
  52.                                'qty': {'max_value': 200000,
  53.                                        'min_value': 0,
  54.                                        'shape': (),
  55.                                        'type': 'float'},
  56.                                'supplier_tier': {'num_values': 4,
  57.                                                  'shape': (),
  58.                                                  'type': 'int'}},
  59.                'MID_1_bid_4': {'price': {'max_value': 2000,
  60.                                          'min_value': 0,
  61.                                          'shape': (),
  62.                                          'type': 'float'},
  63.                                'promise_date': {'num_values': 10,
  64.                                                 'shape': (),
  65.                                                 'type': 'int'},
  66.                                'qty': {'max_value': 200000,
  67.                                        'min_value': 0,
  68.                                        'shape': (),
  69.                                        'type': 'float'},
  70.                                'supplier_tier': {'num_values': 4,
  71.                                                  'shape': (),
  72.                                                  'type': 'int'}},
  73.                'MID_1_bid_5': {'price': {'max_value': 2000,
  74.                                          'min_value': 0,
  75.                                          'shape': (),
  76.                                          'type': 'float'},
  77.                                'promise_date': {'num_values': 10,
  78.                                                 'shape': (),
  79.                                                 'type': 'int'},
  80.                                'qty': {'max_value': 200000,
  81.                                        'min_value': 0,
  82.                                        'shape': (),
  83.                                        'type': 'float'},
  84.                                'supplier_tier': {'num_values': 4,
  85.                                                  'shape': (),
  86.                                                  'type': 'int'}},
  87.                'MID_1_bid_6': {'price': {'max_value': 2000,
  88.                                          'min_value': 0,
  89.                                          'shape': (),
  90.                                          'type': 'float'},
  91.                                'promise_date': {'num_values': 10,
  92.                                                 'shape': (),
  93.                                                 'type': 'int'},
  94.                                'qty': {'max_value': 200000,
  95.                                        'min_value': 0,
  96.                                        'shape': (),
  97.                                        'type': 'float'},
  98.                                'supplier_tier': {'num_values': 4,
  99.                                                  'shape': (),
  100.                                                  'type': 'int'}},
  101.                'MID_1_bid_7': {'price': {'max_value': 2000,
  102.                                          'min_value': 0,
  103.                                          'shape': (),
  104.                                          'type': 'float'},
  105.                                'promise_date': {'num_values': 10,
  106.                                                 'shape': (),
  107.                                                 'type': 'int'},
  108.                                'qty': {'max_value': 200000,
  109.                                        'min_value': 0,
  110.                                        'shape': (),
  111.                                        'type': 'float'},
  112.                                'supplier_tier': {'num_values': 4,
  113.                                                  'shape': (),
  114.                                                  'type': 'int'}},
  115.                'MID_1_bid_8': {'price': {'max_value': 2000,
  116.                                          'min_value': 0,
  117.                                          'shape': (),
  118.                                          'type': 'float'},
  119.                                'promise_date': {'num_values': 10,
  120.                                                 'shape': (),
  121.                                                 'type': 'int'},
  122.                                'qty': {'max_value': 200000,
  123.                                        'min_value': 0,
  124.                                        'shape': (),
  125.                                        'type': 'float'},
  126.                                'supplier_tier': {'num_values': 4,
  127.                                                  'shape': (),
  128.                                                  'type': 'int'}},
  129.                'MID_1_bid_9': {'price': {'max_value': 2000,
  130.                                          'min_value': 0,
  131.                                          'shape': (),
  132.                                          'type': 'float'},
  133.                                'promise_date': {'num_values': 10,
  134.                                                 'shape': (),
  135.                                                 'type': 'int'},
  136.                                'qty': {'max_value': 200000,
  137.                                        'min_value': 0,
  138.                                        'shape': (),
  139.                                        'type': 'float'},
  140.                                'supplier_tier': {'num_values': 4,
  141.                                                  'shape': (),
  142.                                                  'type': 'int'}},
  143.                'purchaser_state': {'shape': (19,), 'type': 'float'}}),
  144.  
  145.              ('actions',
  146.               {'MID_1_counter_0': {'concession': {'future_date': {'num_values': 10,
  147.                                                                   'shape': (),
  148.                                                                   'type': 'int'},
  149.                                                   'price': {'max_value': 2000,
  150.                                                             'min_value': 0,
  151.                                                             'shape': (),
  152.                                                             'type': 'float'},
  153.                                                   'promise_date': {'num_values': 10,
  154.                                                                    'shape': (),
  155.                                                                    'type': 'int'},
  156.                                                   'qty': {'max_value': 200000,
  157.                                                           'min_value': 0,
  158.                                                           'shape': (),
  159.                                                           'type': 'float'},
  160.                                                   'supplier_tier': {'num_values': 4,
  161.                                                                     'shape': (),
  162.                                                                     'type': 'int'}},
  163.                                    'price': {'max_value': 2000,
  164.                                              'min_value': 0,
  165.                                              'shape': (),
  166.                                              'type': 'float'},
  167.                                    'promise_date': {'num_values': 10,
  168.                                                     'shape': (),
  169.                                                     'type': 'int'},
  170.                                    'qty': {'max_value': 200000,
  171.                                            'min_value': 0,
  172.                                            'shape': (),
  173.                                            'type': 'float'}},
  174.                'MID_1_counter_1': {'concession': {'future_date': {'num_values': 10,
  175.                                                                   'shape': (),
  176.                                                                   'type': 'int'},
  177.                                                   'price': {'max_value': 2000,
  178.                                                             'min_value': 0,
  179.                                                             'shape': (),
  180.                                                             'type': 'float'},
  181.                                                   'promise_date': {'num_values': 10,
  182.                                                                    'shape': (),
  183.                                                                    'type': 'int'},
  184.                                                   'qty': {'max_value': 200000,
  185.                                                           'min_value': 0,
  186.                                                           'shape': (),
  187.                                                           'type': 'float'},
  188.                                                   'supplier_tier': {'num_values': 4,
  189.                                                                     'shape': (),
  190.                                                                     'type': 'int'}},
  191.                                    'price': {'max_value': 2000,
  192.                                              'min_value': 0,
  193.                                              'shape': (),
  194.                                              'type': 'float'},
  195.                                    'promise_date': {'num_values': 10,
  196.                                                     'shape': (),
  197.                                                     'type': 'int'},
  198.                                    'qty': {'max_value': 200000,
  199.                                            'min_value': 0,
  200.                                            'shape': (),
  201.                                            'type': 'float'}},
  202.                'MID_1_counter_2': {'concession': {'future_date': {'num_values': 10,
  203.                                                                   'shape': (),
  204.                                                                   'type': 'int'},
  205.                                                   'price': {'max_value': 2000,
  206.                                                             'min_value': 0,
  207.                                                             'shape': (),
  208.                                                             'type': 'float'},
  209.                                                   'promise_date': {'num_values': 10,
  210.                                                                    'shape': (),
  211.                                                                    'type': 'int'},
  212.                                                   'qty': {'max_value': 200000,
  213.                                                           'min_value': 0,
  214.                                                           'shape': (),
  215.                                                           'type': 'float'},
  216.                                                   'supplier_tier': {'num_values': 4,
  217.                                                                     'shape': (),
  218.                                                                     'type': 'int'}},
  219.                                    'price': {'max_value': 2000,
  220.                                              'min_value': 0,
  221.                                              'shape': (),
  222.                                              'type': 'float'},
  223.                                    'promise_date': {'num_values': 10,
  224.                                                     'shape': (),
  225.                                                     'type': 'int'},
  226.                                    'qty': {'max_value': 200000,
  227.                                            'min_value': 0,
  228.                                            'shape': (),
  229.                                            'type': 'float'}},
  230.                'MID_1_counter_3': {'concession': {'future_date': {'num_values': 10,
  231.                                                                   'shape': (),
  232.                                                                   'type': 'int'},
  233.                                                   'price': {'max_value': 2000,
  234.                                                             'min_value': 0,
  235.                                                             'shape': (),
  236.                                                             'type': 'float'},
  237.                                                   'promise_date': {'num_values': 10,
  238.                                                                    'shape': (),
  239.                                                                    'type': 'int'},
  240.                                                   'qty': {'max_value': 200000,
  241.                                                           'min_value': 0,
  242.                                                           'shape': (),
  243.                                                           'type': 'float'},
  244.                                                   'supplier_tier': {'num_values': 4,
  245.                                                                     'shape': (),
  246.                                                                     'type': 'int'}},
  247.                                    'price': {'max_value': 2000,
  248.                                              'min_value': 0,
  249.                                              'shape': (),
  250.                                              'type': 'float'},
  251.                                    'promise_date': {'num_values': 10,
  252.                                                     'shape': (),
  253.                                                     'type': 'int'},
  254.                                    'qty': {'max_value': 200000,
  255.                                            'min_value': 0,
  256.                                            'shape': (),
  257.                                            'type': 'float'}},
  258.                'MID_1_counter_4': {'concession': {'future_date': {'num_values': 10,
  259.                                                                   'shape': (),
  260.                                                                   'type': 'int'},
  261.                                                   'price': {'max_value': 2000,
  262.                                                             'min_value': 0,
  263.                                                             'shape': (),
  264.                                                             'type': 'float'},
  265.                                                   'promise_date': {'num_values': 10,
  266.                                                                    'shape': (),
  267.                                                                    'type': 'int'},
  268.                                                   'qty': {'max_value': 200000,
  269.                                                           'min_value': 0,
  270.                                                           'shape': (),
  271.                                                           'type': 'float'},
  272.                                                   'supplier_tier': {'num_values': 4,
  273.                                                                     'shape': (),
  274.                                                                     'type': 'int'}},
  275.                                    'price': {'max_value': 2000,
  276.                                              'min_value': 0,
  277.                                              'shape': (),
  278.                                              'type': 'float'},
  279.                                    'promise_date': {'num_values': 10,
  280.                                                     'shape': (),
  281.                                                     'type': 'int'},
  282.                                    'qty': {'max_value': 200000,
  283.                                            'min_value': 0,
  284.                                            'shape': (),
  285.                                            'type': 'float'}},
  286.                'MID_1_counter_5': {'concession': {'future_date': {'num_values': 10,
  287.                                                                   'shape': (),
  288.                                                                   'type': 'int'},
  289.                                                   'price': {'max_value': 2000,
  290.                                                             'min_value': 0,
  291.                                                             'shape': (),
  292.                                                             'type': 'float'},
  293.                                                   'promise_date': {'num_values': 10,
  294.                                                                    'shape': (),
  295.                                                                    'type': 'int'},
  296.                                                   'qty': {'max_value': 200000,
  297.                                                           'min_value': 0,
  298.                                                           'shape': (),
  299.                                                           'type': 'float'},
  300.                                                   'supplier_tier': {'num_values': 4,
  301.                                                                     'shape': (),
  302.                                                                     'type': 'int'}},
  303.                                    'price': {'max_value': 2000,
  304.                                              'min_value': 0,
  305.                                              'shape': (),
  306.                                              'type': 'float'},
  307.                                    'promise_date': {'num_values': 10,
  308.                                                     'shape': (),
  309.                                                     'type': 'int'},
  310.                                    'qty': {'max_value': 200000,
  311.                                            'min_value': 0,
  312.                                            'shape': (),
  313.                                            'type': 'float'}},
  314.                'MID_1_counter_6': {'concession': {'future_date': {'num_values': 10,
  315.                                                                   'shape': (),
  316.                                                                   'type': 'int'},
  317.                                                   'price': {'max_value': 2000,
  318.                                                             'min_value': 0,
  319.                                                             'shape': (),
  320.                                                             'type': 'float'},
  321.                                                   'promise_date': {'num_values': 10,
  322.                                                                    'shape': (),
  323.                                                                    'type': 'int'},
  324.                                                   'qty': {'max_value': 200000,
  325.                                                           'min_value': 0,
  326.                                                           'shape': (),
  327.                                                           'type': 'float'},
  328.                                                   'supplier_tier': {'num_values': 4,
  329.                                                                     'shape': (),
  330.                                                                     'type': 'int'}},
  331.                                    'price': {'max_value': 2000,
  332.                                              'min_value': 0,
  333.                                              'shape': (),
  334.                                              'type': 'float'},
  335.                                    'promise_date': {'num_values': 10,
  336.                                                     'shape': (),
  337.                                                     'type': 'int'},
  338.                                    'qty': {'max_value': 200000,
  339.                                            'min_value': 0,
  340.                                            'shape': (),
  341.                                            'type': 'float'}},
  342.                'MID_1_counter_7': {'concession': {'future_date': {'num_values': 10,
  343.                                                                   'shape': (),
  344.                                                                   'type': 'int'},
  345.                                                   'price': {'max_value': 2000,
  346.                                                             'min_value': 0,
  347.                                                             'shape': (),
  348.                                                             'type': 'float'},
  349.                                                   'promise_date': {'num_values': 10,
  350.                                                                    'shape': (),
  351.                                                                    'type': 'int'},
  352.                                                   'qty': {'max_value': 200000,
  353.                                                           'min_value': 0,
  354.                                                           'shape': (),
  355.                                                           'type': 'float'},
  356.                                                   'supplier_tier': {'num_values': 4,
  357.                                                                     'shape': (),
  358.                                                                     'type': 'int'}},
  359.                                    'price': {'max_value': 2000,
  360.                                              'min_value': 0,
  361.                                              'shape': (),
  362.                                              'type': 'float'},
  363.                                    'promise_date': {'num_values': 10,
  364.                                                     'shape': (),
  365.                                                     'type': 'int'},
  366.                                    'qty': {'max_value': 200000,
  367.                                            'min_value': 0,
  368.                                            'shape': (),
  369.                                            'type': 'float'}},
  370.                'MID_1_counter_8': {'concession': {'future_date': {'num_values': 10,
  371.                                                                   'shape': (),
  372.                                                                   'type': 'int'},
  373.                                                   'price': {'max_value': 2000,
  374.                                                             'min_value': 0,
  375.                                                             'shape': (),
  376.                                                             'type': 'float'},
  377.                                                   'promise_date': {'num_values': 10,
  378.                                                                    'shape': (),
  379.                                                                    'type': 'int'},
  380.                                                   'qty': {'max_value': 200000,
  381.                                                           'min_value': 0,
  382.                                                           'shape': (),
  383.                                                           'type': 'float'},
  384.                                                   'supplier_tier': {'num_values': 4,
  385.                                                                     'shape': (),
  386.                                                                     'type': 'int'}},
  387.                                    'price': {'max_value': 2000,
  388.                                              'min_value': 0,
  389.                                              'shape': (),
  390.                                              'type': 'float'},
  391.                                    'promise_date': {'num_values': 10,
  392.                                                     'shape': (),
  393.                                                     'type': 'int'},
  394.                                    'qty': {'max_value': 200000,
  395.                                            'min_value': 0,
  396.                                            'shape': (),
  397.                                            'type': 'float'}},
  398.                'MID_1_counter_9': {'concession': {'future_date': {'num_values': 10,
  399.                                                                   'shape': (),
  400.                                                                   'type': 'int'},
  401.                                                   'price': {'max_value': 2000,
  402.                                                             'min_value': 0,
  403.                                                             'shape': (),
  404.                                                             'type': 'float'},
  405.                                                   'promise_date': {'num_values': 10,
  406.                                                                    'shape': (),
  407.                                                                    'type': 'int'},
  408.                                                   'qty': {'max_value': 200000,
  409.                                                           'min_value': 0,
  410.                                                           'shape': (),
  411.                                                           'type': 'float'},
  412.                                                   'supplier_tier': {'num_values': 4,
  413.                                                                     'shape': (),
  414.                                                                     'type': 'int'}},
  415.                                    'price': {'max_value': 2000,
  416.                                              'min_value': 0,
  417.                                              'shape': (),
  418.                                              'type': 'float'},
  419.                                    'promise_date': {'num_values': 10,
  420.                                                     'shape': (),
  421.                                                     'type': 'int'},
  422.                                    'qty': {'max_value': 200000,
  423.                                            'min_value': 0,
  424.                                            'shape': (),
  425.                                            'type': 'float'}},
  426.                'choose_bids_MID_1': {'max_value': 1,
  427.                                      'min_value': -1,
  428.                                      'shape': (10,),
  429.                                      'type': 'float'}}),
  430.              ('batch_size', 26),
  431.              ('max_episode_timesteps', 104),
  432.              ('network', 'auto'),
  433.              ('use_beta_distribution', False),
  434.              ('memory', 104),
  435.              ('update_frequency', 'batch_size'),
  436.              ('learning_rate', 0.001),
  437.              ('horizon', 26),
  438.              ('discount', 0.99),
  439.              ('predict_terminal_values', False),
  440.              ('critic', 'auto'),
  441.              ('critic_optimizer', 1.0),
  442.              ('state_preprocessing', 'linear_normalization'),
  443.              ('reward_preprocessing', None),
  444.              ('exploration', 0.0),
  445.              ('variable_noise', 0.0),
  446.              ('l2_regularization', 0.0),
  447.              ('entropy_regularization', 0.0),
  448.              ('parallel_interactions', 1),
  449.              ('config', {'enable_int_action_masking': False}),
  450.              ('saver', None),
  451.              ('summarizer', None),
  452.              ('recorder', None)])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement