Commit Graph

44 Commits

Author SHA1 Message Date
HaoYizhi b84ab810d0 add comments 2023-08-22 23:22:30 -04:00
HaoYizhi 9c26d04d76 formatting 2023-07-28 18:10:25 +08:00
HaoYizhi bf82aa62ff debug 2023-07-28 18:07:30 +08:00
HaoYizhi 7255c3b046 test 2023-07-28 15:29:16 +08:00
HaoYizhi a321df0582 remove crit_supplier 2023-07-28 15:14:59 +08:00
HaoYizhi 921f03fc44 change the way to find connected firm 2023-07-27 12:56:22 +08:00
HaoYizhi 74d8798b1d connected firm no accept probability 2023-07-27 12:50:52 +08:00
HaoYizhi 9dce034cf2 baseline 2023-07-02 23:34:44 +08:00
HaoYizhi 098680f3aa update the status of firm in clean_before_time_step + remove_edge_to_cus_disrupt_cus_up_prod update disrupted status instead of append + proactive find candidate that is not a current supplier for the same product 2023-07-02 23:16:05 +08:00
HaoYizhi 84828272e2 log status of every firm product in every time step + mysql 2023-07-02 20:44:06 +08:00
HaoYizhi 206dd2fbc0 zero capacity firm should also be removed from candidate list to prevent repeated request 2023-07-02 15:08:02 +08:00
HaoYizhi c348f3eb9c rename 3 status into (Normal / Disrupted / Removed) 2023-07-02 15:03:51 +08:00
HaoYizhi baf60ffd76 remove disrupt to removed, 3 status (Normal / Affected / Removed) + size_stat 2023-07-02 13:00:13 +08:00
HaoYizhi 11abfa5ce8 drop firm attr a_lst_product/_disrupted 2023-06-18 22:12:47 +08:00
HaoYizhi 6f99d9978e 4 status (Normal / Affected / Disrupted / Removed) 2023-06-18 21:39:15 +08:00
HaoYizhi a19860bdb2 beautify 2023-06-18 21:03:11 +08:00
HaoYizhi 1d8f319adb revenue reduce 2023-06-18 20:27:23 +08:00
HaoYizhi b0b3cac73e init extra capacity in firm.py 2023-06-18 18:15:37 +08:00
HaoYizhi dd8a786f6c dct_prod_up_prod_stat + no need for dct_list_remove_firm_prod/dct_list_disrupt_firm_prod 2023-06-18 17:29:11 +08:00
HaoYizhi 36abde1022 condense external variables 2023-06-14 18:00:08 +08:00
HaoYizhi 67aa573154 firm request and accept preference to 2 level 2023-06-11 16:09:30 +08:00
HaoYizhi daab7af6ee reorder exp table + diff_new_conn 2023-06-11 15:06:50 +08:00
HaoYizhi 7a08a52f3f exp connect first 2023-06-10 20:56:34 +08:00
HaoYizhi 313870bcc3 rename variable 2023-06-10 19:51:50 +08:00
HaoYizhi 0e40f90559 sample removal + seek connect first 2023-06-10 18:59:38 +08:00
HaoYizhi 907d6cb179 before graph firm prod 2023-06-05 10:47:37 +08:00
HaoYizhi b4e9512439 without_exp 2023-05-21 12:35:27 +08:00
HaoYizhi 839e47cf0b experiments in model and firm py 2023-05-15 18:18:41 +08:00
HaoYizhi a5f278c4cb experiment design 2023-05-15 16:19:05 +08:00
HaoYizhi 7e8980d0c6 remove firm that denied request from candidate list 2023-05-15 13:37:05 +08:00
HaoYizhi 6489ecff90 first normal run 2023-03-16 21:38:57 +08:00
HaoYizhi 1072d4e2b0 handling request based on connection 2023-03-16 16:08:45 +08:00
HaoYizhi 5b0e17ce52 formatting 2023-03-14 18:53:00 +08:00
HaoYizhi a8d50e1f81 accept order conditionally 2023-03-14 17:51:17 +08:00
HaoYizhi 45a406961a affect customer / remove customer up product conditionally 2023-03-14 12:53:49 +08:00
HaoYizhi 4b34dab443 Firm accept request conditionally 2023-03-14 11:39:11 +08:00
HaoYizhi 586272c923 main 2023-03-07 12:29:27 +08:00
HaoYizhi b291578889 model product firm 2023-03-06 22:38:57 +08:00
HaoYizhi cf11c0c9bb capacity init network 2023-02-28 16:56:12 +08:00
HaoYizhi c29a75177c model firm product 2023-02-27 22:02:46 +08:00
HaoYizhi f8d91df954 model + firm 2023-02-26 21:58:05 +08:00
HaoYizhi bf7bb217af model firm 2023-02-25 20:14:53 +08:00
HaoYizhi 2941f020e4 model+firm 2023-02-24 17:53:55 +08:00
HaoYizhi 9449550c2d Load Firm - choose customer 2023-02-24 15:16:28 +08:00