Skip to main content

Pytest Tests codecov Documentation Status GitHub contributors Merged PRs Code style: black

OR-Topas

Operations Research Toolkit for Pyomo Alternative Solutions

Overview

OR-Topas provides a python toolkit for generating and analyzing alternative solutions for pyomo models. This library is adapted from the pyomo.contrib.alternative_solutions and pyomo.contrib.benders libraries. OR-Topas extends the solution pool definition from pyomo, and it includes new Benders implementations that support generation for alternative solutions.

Testing

OR-Topas tests can be executed using pytest:

cd or_topas
pytest .

If the pytest-cov package is installed, pytest can provide coverage statistics:

cd or_topas
pytest --cov=or_topas .

The following options list the lines that are missing from coverage tests:

cd or_topas
pytest --cov=or_topas --cov-report term-missing .

Note that pytest coverage includes coverage of test files themselves. This gives a somewhat skewed sense of coverage for the code base, but it helps identify tests that are omitted or not executed completely.

Metadata

Release files for or-topas 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for or-topas 1.0.0
File Size Uploaded
or_topas-1.0.0.tar.gz 93.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for or-topas 1.0.0
File Interpreter ABI Platform
or_topas-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 220.3 kB

Release files / or_topas-1.0.0.tar.gz

Download URL or_topas-1.0.0.tar.gz
Size 93.4 kB
Tags Source
SHA-256 checksum
How to use checksums
73b93f03b010f4b07a2df7b58555ce900092d61ae531ca89b9caec658bab9938
BLAKE2b-256 checksum
How to use checksums
5c13bf0f78bebcd0cdd2a7f8331e3d5e8915b6bd125d6a315c7a8457f930039b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / or_topas-1.0.0-py3-none-any.whl

Download URL or_topas-1.0.0-py3-none-any.whl
Size 126.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ccdbdde7903ef2c05d3559d127e94622bf4f216442b041812b308233736f9b2c
BLAKE2b-256 checksum
How to use checksums
23d64efe714fe018bfc5dcf225545a68e20ca8105e2962d3869162d69830d173
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page