2nd commit
This commit is contained in:
parent
4e1084b517
commit
62e3360f65
|
@ -4,7 +4,7 @@
|
|||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="jdk" jdkName="Python 3.8 (salary02)" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8 (venv) (3)" project-jdk-type="Python SDK" />
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8 (salary02)" project-jdk-type="Python SDK" />
|
||||
</project>
|
12
env.py
12
env.py
|
@ -206,12 +206,12 @@ class Env(ap.Model):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
dict_para = {'n_worker': 1000,
|
||||
'n_firm': 100,
|
||||
'percent_search': 0.2,
|
||||
'alpha': 0.5,
|
||||
'is_RH_ratio': 0.5}
|
||||
my_model = Env(dict_para)
|
||||
# dict_para = {'n_worker': 1000,
|
||||
# 'n_firm': 100,
|
||||
# 'percent_search': 0.2,
|
||||
# 'alpha': 0.5,
|
||||
# 'is_RH_ratio': 0.5}
|
||||
# my_model = Env(dict_para)
|
||||
#
|
||||
# print(my_model.gini([10000, 0, 0, 0, 0, 0, 0]))
|
||||
# my_model.run()
|
||||
|
|
BIN
env_data.xlsx
BIN
env_data.xlsx
Binary file not shown.
Loading…
Reference in New Issue