@@ -266,7 +266,7 @@ jobs:
266266 conda-remove-defaults : true
267267 auto-update-conda : false
268268 python-version : ${{ matrix.python }}
269- channels : conda-forge, gurobi, ibmdecisionoptimization, fico-xpress
269+ channels : conda-forge, gurobi, fico-xpress
270270 use-mamba : true
271271
272272 # This is necessary for qt (UI) tests; the package utilized here does not
@@ -403,9 +403,6 @@ jobs:
403403 TIMEOUT_MSG="TIMEOUT: killing conda install process"
404404 PYVER=$(echo "py${{matrix.python}}" | sed 's/\.//g')
405405 echo "Installing for $PYVER"
406- #
407- # Disallow cplex 12.9 (caused segfaults in tests)
408- CPLEX='cplex>=12.10'
409406 # xpress.init() (xpress 9.5.1 from conda) hangs indefinitely
410407 # on GHA/Windows under Python 3.10 and 3.11. Exclude that
411408 # release on that platform.
@@ -418,7 +415,7 @@ jobs:
418415 else
419416 XPRESS='xpress'
420417 fi
421- for PKG in "$CPLEX" docplex gurobi "$XPRESS" cyipopt pymumps scip pyscipopt; do
418+ for PKG in gurobi "$XPRESS" cyipopt pymumps scip pyscipopt; do
422419 echo ""
423420 echo "*** Install $PKG ***"
424421 echo ""
@@ -467,6 +464,12 @@ jobs:
467464 echo "WARNING: $PKG is not available"
468465 fi
469466 done
467+ # As of June 2026, cplex/docplex want their users to move towards
468+ # pypi and away from conda. Particularly:
469+ # The CPLEX and CP Optimizer Python interfaces are no longer
470+ # delivered inside CPLEX Optimization Studio, but can be
471+ # installed directly from PyPI.
472+ PYPI_DEPENDENCIES="$PYPI_DEPENDENCIES cplex docplex"
470473 fi
471474 # Re-try Pyomo (optional) dependencies with pip
472475 echo ""
0 commit comments