Pytorch support for Knitro
Project description
![.github/workflows/pytest.yml](https://github.com/HighDimensionalEconLab/knitropytorch/workflows/.github/workflows/pytest.yml/badge.svg) # knitropytorch Pytorch support for Knitro
## Getting Started
To set up your local development environment, please use a fresh virtual environment.
Then run:
pip install -r requirements.txt -r requirements-dev.txt
You can now import functions and classes from the module with import knitropytorch.
### Testing
We use pytest as test framework. To execute the tests, please run
pytest
To run the tests with coverage information, please use
python setup.py testcov
and have a look at the htmlcov folder, after the tests are done.
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
File details
Details for the file knitropytorch-0.1.0.tar.gz
.
File metadata
- Download URL: knitropytorch-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99501e984546ffa104c298d77445883bb598fddf587fcb29b156ac4a5699fc4d |
|
MD5 | 6daf9c8b51bc23ff17efc81c6fb51b84 |
|
BLAKE2b-256 | 1e6ae57c68afb8e8ef761ce007430f23f9225bdf113adb855ffbff96e05fd67a |
File details
Details for the file knitropytorch-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: knitropytorch-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de8c009f851900fcb0aa5045a958375aec6e2ef8becaa6f7a8362269a33849b8 |
|
MD5 | d0803d0e172aee735afba6e3c139ab69 |
|
BLAKE2b-256 | 843a0f392338b073d6b1146a2f792b7d26befa79a692e6842ad9a60e9cf6a39b |