LSDOlab / modopt

A MODular development environment and library for OPTimization algorithms
https://modopt.readthedocs.io
GNU Lesser General Public License v3.0
4 stars 2 forks source link
educational-software optimization optimization-methods optimization-research optimization-tools

Modopt

GitHub Actions Test Badge Coverage Status Documentation Status License

Please visit the documentation for usage instructions.

Installation

Installation instructions for users

For direct installation with all dependencies, run on the terminal or command line

pip install git+https://github.com/lsdolab/modopt.git

To update modopt to the latest version, run on the terminal or command line

pip uninstall modopt
pip install git+https://github.com/lsdolab/modopt.git

Installation instructions for developers

To install modopt, first clone the repository and install using pip. On the terminal or command line, run

git clone https://github.com/lsdolab/modopt.git
pip install -e ./modopt

To update modopt to the latest version, run on the terminal or command line

cd /path/to/modopt
git pull

To run the tests, install and run pytest with

pip install pytest
pytest

For Developers

For updating documentation, refer to the README in docs directory.

For details on testing/pull requests, refer to the README in tests directory.

License

This project is licensed under the terms of the GNU Lesser General Public License v3.0.