PAO: Python Adversarial Optimization
Project description
[![Documentation Status](https://readthedocs.org/projects/pao/badge/?version=latest)](http://pao.readthedocs.org/en/latest/)
[![Actions Status](https://github.com/or-fusion/pao/workflows/continuous-integration/github/pr/linux/badge.svg)](https://github.com/or-fusion/pao/actions) [![Pyomo Checks](https://github.com/or-fusion/pao/workflows/pyomo-checks/badge.svg)](https://github.com/or-fusion/pao/actions) [![codecov](https://codecov.io/gh/or-fusion/pao/branch/master/graph/badge.svg)](https://codecov.io/gh/or-fusion/pao)
[![GitHub contributors](https://img.shields.io/github/contributors/or-fusion/pao.svg)](https://github.com/or-fusion/pao/graphs/contributors) [![Merged PRs](https://img.shields.io/github/issues-pr-closed-raw/or-fusion/pao.svg?label=merged+PRs)](https://github.com/or-fusion/pao/pulls?q=is:pr+is:merged) [![Issue stats](http://isitmaintained.com/badge/resolution/or-fusion/pao.svg)](http://isitmaintained.com/project/or-fusion/pao) [![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
# PAO Overview
PAO is a Python-based package for Adversarial Optimization. PAO extends the modeling concepts in [Pyomo](https://github.com/Pyomo/pyomo) to enable the expression and solution of multi-level optimization problems. The goal of this package is to provide a general modeling and analysis capability, and application exemplars serve to illustrate PAO’s general capabilities.
This package was derived from the capabilities in pyomo.bilevel and pyomo.dualize, which are now deprecated.
Pyomo is available under the BSD License, see the LICENSE.txt file.
### Documentation
[ReadTheDocs](http://pao.readthedocs.org/en/latest/)
### Installation
#### PyPI [![PyPI version](https://img.shields.io/pypi/v/pao.svg?maxAge=3600)](https://pypi.org/project/pao/) [![PyPI downloads](https://img.shields.io/pypi/dm/pao.svg?maxAge=21600)](https://pypistats.org/packages/pao)
pip install pao
### Testing
Pyomo is currently tested with the following Python implementations:
CPython: 3.7, 3.8, 3.9
Testing
pip install nose coverage
Simple tests
nosetests .
Tests with coverage
nosetests –with-xunit –with-coverage –cover-xml .
coverage report -m
### Getting Help
[Add a Ticket](https://github.com/or-fusion/pao/issues/new)
[Find a Ticket](https://github.com/or-fusion/pao/issues) and Vote On It!
### Developers
By contributing to this software project, you are agreeing to the following terms and conditions for your contributions:
You agree your contributions are submitted under the BSD license.
You represent you are authorized to make the contributions and grant the license. If your employer has rights to intellectual property that includes your contributions, you represent that you have received permission to make contributions and grant the required license on behalf of that employer.
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.