Skip to content

sandialabs/or_topas

Repository files navigation

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.

About

Toolkit for Pyomo Alternative Solutions

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages