Question & Answer
Question
Answer
CPLEX Optimization Studio 22.1.1 already supports Python 3.11. However, it must be installed online by following the steps below:
- run "pip install cplex"
- run "pip install docplex"
- The version downloaded online is the community edition. If you have the version of CPLEX Optimization Studio 22.1.1 without dimension limits, replace the binary files with the ones without dimension limits.
We are providing a script make_full.py_.zip to do step 3 on all platforms.
With PATH to CPLEX 22.1.1 specified, the script copies the binary files automatically. Here is a sample run in a test environment
(311venv) C:\ILOG\CPLEX_Studio2211\cplex\examples\src\python>python make_full.py C:\ILOG\CPLEX_Studio2211
Performing copies:
C:\ILOG\CPLEX_Studio2211\cplex\bin\x64_win64\cplex2211.dll -> C:\Python\311venv\Lib\site-packages\cplex\_internal\cplex2211.dll
C:\ILOG\CPLEX_Studio2211\cplex\bin\x64_win64\cplex2211.dll -> C:\Python\311venv\Scripts\cplex2211.dll
C:\ILOG\CPLEX_Studio2211\cpoptimizer\bin\x64_win64\cpoptimizer.exe -> C:\Python\311venv\Scripts\cpoptimizer.exe
Internal Use Only
Was this topic helpful?
Document Information
Modified date:
22 July 2024
UID
ibm17160884