OpenSourceEconomics / grmpy

Python package for the simulation and estimation of generalized Roy model
http://grmpy.readthedocs.io
MIT License
19 stars 5 forks source link

Constraints for random initialization files #123

Closed peisenha closed 6 years ago

peisenha commented 6 years ago

Please change th code so that I can impose selective constraints directly instead of a call to the constraints function.

For example, this should work:

constr = dict()
constr['DETERMINISTIC'] = False
dict_ = generate_random_dict(constr)``
peisenha commented 6 years ago

If this is done, please close now.