Specification, solution, and simulation of finite-horizon dynamic choice models.
Project description
Life Cycle Models
This package aims to generalize and facilitate the specification, solution, and simulation of finite-horizon discrete-continuous dynamic choice models.
Installation
PyLCM can be installed via PyPI or via GitHub. To do so, type the following in a terminal:
$ pip install pylcm
or, for the latest development version, type:
$ pip install git+https://github.com/OpenSourceEconomics/pylcm.git
GPU Support
By default, the installation of PyLCM comes with the CPU version of jax. If you aim to
run PyLCM on a GPU, you need to install a jaxlib version with GPU support. For the
installation of jaxlib, please consult the jax
docs.
[!NOTE] GPU support is currently only tested on Linux with CUDA 12.
Developing
We use pixi for our local development environment. If you want to work with or extend the PyLCM code base you can run the tests using
$ git clone https://github.com/OpenSourceEconomics/pylcm.git
$ pixi run tests
This will install the development environment and run the tests. You can run mypy using
$ pixi run mypy
Before committing, install the pre-commit hooks using
$ pixi global install pre-commit
$ pre-commit install
Questions
If you have any questions, feel free to ask them on the PyLCM Zulip chat.
License
This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.
Copyright (c) 2023- The PyLCM Authors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pylcm-0.0.1.tar.gz.
File metadata
- Download URL: pylcm-0.0.1.tar.gz
- Upload date:
- Size: 40.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8992ae17a36858d1db6bceee0a57fd8f407768d902b111db71945f54ecf32fd0
|
|
| MD5 |
ef30b5d71dd839cfc42919524376ec83
|
|
| BLAKE2b-256 |
01402e970845b799a31b0f37ab62b3f80a659821e96d815d31cf13223a631db0
|
File details
Details for the file pylcm-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pylcm-0.0.1-py3-none-any.whl
- Upload date:
- Size: 53.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8933922c51e2de649443ee04236a602c3b25be1ea0aba7229d84ab6b94c8d852
|
|
| MD5 |
c785aefbfdc4b15e26804b1d257ba956
|
|
| BLAKE2b-256 |
9d17e87e23d3f717708bc1eafc7de8255ddd708a2553ef99fbf8c46d1257aed9
|