From 9eb40d59f84c65bcb01fa8559930be8978b2dddc Mon Sep 17 00:00:00 2001 From: FBumann <117816358+FBumann@users.noreply.github.com> Date: Thu, 16 Apr 2026 18:29:13 +0200 Subject: [PATCH] fix: exclude highspy 1.14.0 due to suboptimal MIP solutions highspy 1.14.0 returns suboptimal solutions for modified MIP models, causing test_modified_model to fail across all platforms. Exclude it from all dependency groups (docs, dev, solvers). Closes #651 Co-Authored-By: Claude Opus 4.6 (1M context) --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b8672acc..33bca8b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,7 +62,7 @@ docs = [ "gurobipy>=13.0.0", "ipykernel==6.29.5", "matplotlib==3.9.1", - "highspy>=1.7.1", + "highspy>=1.7.1,!=1.14.0", ] dev = [ "pytest", @@ -74,7 +74,7 @@ dev = [ "types-paramiko", "types-requests", "gurobipy", - "highspy", + "highspy!=1.14.0", ] benchmarks = [ "pytest-benchmark", @@ -82,8 +82,8 @@ benchmarks = [ ] solvers = [ "gurobipy", - "highspy>=1.5.0; python_version < '3.12'", - "highspy>=1.7.1; python_version >= '3.12'", + "highspy>=1.5.0,!=1.14.0; python_version < '3.12'", + "highspy>=1.7.1,!=1.14.0; python_version >= '3.12'", "cplex; platform_system != 'Darwin' and python_version < '3.12'", "mosek", "mindoptpy; python_version < '3.12'",