Skip to content

First version of symmip, which adds tentative MIP support #14

First version of symmip, which adds tentative MIP support

First version of symmip, which adds tentative MIP support #14

Workflow file for this run

name: pytest_and_symmip
env:
version: 8.0.3
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.7, 3.8, 3.9, "3.10", 3.11]
steps:
- uses: actions/checkout@v3
- name: Install dependencies (SCIPOptSuite)
run: |
wget --quiet --no-check-certificate https://github.com/scipopt/scip/releases/download/$(echo "v${{env.version}}" | tr -d '.')/SCIPOptSuite-${{ env.version }}-Linux-ubuntu.deb
sudo apt-get update && sudo apt install -y ./SCIPOptSuite-${{ env.version }}-Linux-ubuntu.deb
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel
pip install pytest
pip install -r requirements.txt
pip install matplotlib
pip install -e .[symmip]
- name: Test MIP
run:
pytest tests/test_mip.py