Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
6459157
Small additions to documentation.
amageh Apr 9, 2026
333a339
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 9, 2026
043f61f
Add slow_version for simulation.
Apr 15, 2026
3aec625
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 15, 2026
ed8cf26
Change interface to support different upper envelope methods.
amageh Apr 15, 2026
2dd174c
Add model_config to functions and edit test.
amageh Apr 15, 2026
dbeec15
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 15, 2026
80a38d6
Fix issue.
amageh Apr 15, 2026
f8d621d
Merge branch 'docs' of https://github.com/OpenSourceEconomics/dcegm i…
amageh Apr 15, 2026
812bb1d
Fix function input
amageh Apr 15, 2026
a14f6db
Remove model config.
amageh Apr 16, 2026
894350d
Fix issue
amageh Apr 16, 2026
73645b0
Fix tests.
amageh Apr 16, 2026
e6ba748
Reorder if conditions in wrapper.
amageh Apr 20, 2026
db9d299
Add error message.
amageh Apr 20, 2026
15e0004
Add notebook with outline for continuous exp vs discrete exp two occu…
amageh Apr 20, 2026
edc9c92
Small changes to notebook.
amageh Apr 20, 2026
ca497cc
Test case
MaxBlesch Apr 20, 2026
479f722
Model config
MaxBlesch Apr 20, 2026
6b6b3e9
Done
MaxBlesch Apr 20, 2026
7f06e08
Cont state space
MaxBlesch Apr 20, 2026
e3109c7
Implemented moe
MaxBlesch Apr 20, 2026
b9504a5
Done
MaxBlesch Apr 20, 2026
c4b3ca3
On my way in lom
MaxBlesch Apr 20, 2026
b4b5c6d
lom
MaxBlesch Apr 20, 2026
df09cf7
Final period.
MaxBlesch Apr 20, 2026
a193e24
Final period.
MaxBlesch Apr 20, 2026
49d0e0b
A little rollback
MaxBlesch Apr 20, 2026
06e6785
Next function
MaxBlesch Apr 20, 2026
c383c1b
Solve single period is done
MaxBlesch Apr 20, 2026
4aeb91c
Two period models working
MaxBlesch Apr 20, 2026
a890499
fixed tests
MaxBlesch Apr 20, 2026
d509619
Almost
MaxBlesch Apr 20, 2026
6e02360
Almost
MaxBlesch Apr 20, 2026
4630aca
Done
MaxBlesch Apr 20, 2026
6188cf3
Alternative sim
MaxBlesch Apr 20, 2026
ae92069
Done
MaxBlesch Apr 20, 2026
729c2d4
Fix warning
MaxBlesch Apr 20, 2026
e86508a
Test back in
MaxBlesch Apr 21, 2026
adb66d9
Minimal interpolator.
MaxBlesch Apr 21, 2026
e68a957
Done with interpolation
MaxBlesch Apr 21, 2026
1c54b8d
Another test missing?
MaxBlesch Apr 21, 2026
acf1a88
Done
MaxBlesch Apr 21, 2026
6857a02
New 1d for dj
MaxBlesch Apr 21, 2026
2478f11
Done
MaxBlesch Apr 21, 2026
2a17197
Rewrote to match grid
MaxBlesch Apr 21, 2026
95571d7
Now
MaxBlesch Apr 21, 2026
cf5bb42
Bug in last period
MaxBlesch Apr 22, 2026
4508adf
Bug hunt
MaxBlesch Apr 22, 2026
21332e0
Done
MaxBlesch Apr 22, 2026
a118200
Fixed test
MaxBlesch Apr 22, 2026
c9d9296
Fixing
MaxBlesch Apr 22, 2026
3053d52
Infer n_continuous_state_combinations from model structure.
amageh Apr 22, 2026
38adee7
Fix tests, add change for n_continuous_state_combinations everywhere.
amageh Apr 22, 2026
ae38373
done
MaxBlesch Apr 22, 2026
96458b9
Add roadmap.
amageh Apr 22, 2026
63c575c
Merge branch 'multi_cont' of https://github.com/OpenSourceEconomics/d…
amageh Apr 22, 2026
289ca9d
Fix bug in model_config, add plot to two occupations test.
amageh Apr 22, 2026
7aa27fc
Adjust test to have reasonable choice probabilities in discrete case.
amageh Apr 22, 2026
3b26314
Everything chosen
MaxBlesch Apr 22, 2026
28ad5c8
Done
MaxBlesch Apr 22, 2026
e22e60d
Update tutorial notebook.
amageh Apr 23, 2026
e6787ca
Adjust docs for new feature.
amageh Apr 23, 2026
a20c9b4
Add tests for consumption and exp.
amageh Apr 23, 2026
3ee50f5
Minor edit to notebook.
amageh Apr 23, 2026
f195db3
Fix stochastic realization
MaxBlesch Apr 23, 2026
d4d250d
Stabilize different
MaxBlesch Apr 23, 2026
8897671
[pre-commit.ci] pre-commit autoupdate (#196)
pre-commit-ci[bot] Apr 24, 2026
7252427
Pre commit update
MaxBlesch Apr 24, 2026
61ca1b0
Refactor new test modules
segsell Apr 29, 2026
aa7e3ac
Add back commented out lines in sparsity function
segsell Apr 29, 2026
2cabe5e
Move matplotlib import into debug function and add check for ImportError
segsell Apr 29, 2026
ad59923
Add research project Gsell
segsell Apr 30, 2026
1c1bfa5
Add initials of first names to citations
segsell Apr 30, 2026
54a9007
Batch options (#201)
MaxBlesch May 7, 2026
aad15f7
Removed commented out code
MaxBlesch May 8, 2026
ec8ffda
Fixed test.
MaxBlesch May 8, 2026
fd23967
Fixed warning
MaxBlesch May 8, 2026
5f612db
run fresh
MaxBlesch May 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ repos:
# hooks:
# - id: setup-cfg-fmt
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
rev: 26.3.1
hooks:
- id: black
language_version: python3.13
Expand All @@ -76,6 +76,7 @@ repos:
rev: v1.7.7
hooks:
- id: docformatter
language_version: python3.13
args:
- --in-place
- --wrap-summaries
Expand Down
3 changes: 1 addition & 2 deletions docs/source/background/limitations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ However, there are limitations to what kind of features can be implemented and h

Below we discuss what kind of models `dcegm` is designed for and importantly what limitations to be aware of when implementing a model.

What can dcegm do?
What can `dcegm` do?
---------------------

The package follows Ishakov et al. (2017) and implements the discrete-continuous endogenous grid method (DC-EGM) for solving dynamic stochastic optimization problems with both discrete and continuous choices. Our code originated as a Python replication of their Matlab code and has since been extended to include additional features and improvements (such as used in Iskhakov and Keane (2021)).
Expand All @@ -25,7 +25,6 @@ What can `dcegm` not be used for?
---------------------------------

- Purely discrete choice models (see e.g. Keane and Wolpin; 1997)
- Models with more than two continuous state variables.
- Models with more than one continuous state variable with a normally distributed idiosyncratic shock.


Expand Down
2 changes: 2 additions & 0 deletions docs/source/background/sparsity_conditions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ To ensure that only **feasible** and **logically consistent** states are evaluat
1. **Filters** out invalid state combinations that violate model logic (e.g., working while dead).
2. **Returns** cleaned or adjusted versions of the state variables to account for absorbing states (e.g., setting `job_offer = 0` when dead).

Note that sparsity conditions can only be defined for discrete state variables.

Basic Structure of a Sparsity Condition
---------------------------------------

Expand Down
Loading
Loading