Skip to content

Commit

Permalink
Use multiprecision backend for Windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
usamamuneeb committed Apr 4, 2023
1 parent b160dd8 commit 9fa8ed1
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions continuous_integration/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,23 @@ fi


if [[ "$PYTHON_VERSION" == "3.11" ]]; then
python -m pip install gurobipy clarabel osqp sdpa-python
python -m pip install gurobipy clarabel osqp
if [[ "$RUNNER_OS" == "Windows" ]]; then
# SDPA with OpenBLAS backend does not pass LP5 on Windows
python -m pip install sdpa-multiprecision
else
python -m pip install sdpa-python
fi
# Python 3.8 on Windows will uninstall NumPy 1.16 and install NumPy 1.24 without the exception.
elif [[ "$RUNNER_OS" == "Windows" ]] && [[ "$PYTHON_VERSION" == "3.8" ]]; then
python -m pip install gurobipy clarabel osqp
else
python -m pip install "ortools>=9.3,<9.5" coptpy cplex sdpa-python diffcp gurobipy xpress clarabel
python -m pip install "ortools>=9.3,<9.5" coptpy cplex diffcp gurobipy xpress clarabel
if [[ "$RUNNER_OS" == "Windows" ]]; then
python -m pip install sdpa-multiprecision
else
python -m pip install sdpa-python
fi
fi

# cylp has wheels for all versions 3.7 - 3.10, except for 3.7 on Windows
Expand Down

0 comments on commit 9fa8ed1

Please sign in to comment.