Hi,
Steps to Upgrade CPLEX in .NET:
Steps to Upgrade CPLEX in .NET:
1.Download & Install
Install CPLEX Optimization Studio 20.x.x from IBM's website.
2.Remove Old DLLs
In Visual Studio, remove references to:
ILOG.CPLEX.dll
ILOG.Concert.dll from version 12.6.1.
3. Add New References
Add the 20.x.x DLLs from:
makefile
Copy
Edit
C:\Program Files\IBM\ILOG\CPLEX_Studio201\cplex\bin\x64_win64\
C:\Program Files\IBM\ILOG\CPLEX_Studio201\concert\bin\x64_win64\
4. Update Code (If Needed)
Adjust for API or method changes.
Ensure proper object disposal (e.g., cplex.Dispose()).
5. Set Environment Variables
Add the new DLL paths to the PATH system environment variable.
6. Rebuild and Test
Rebuild your project and validate model behavior.
Thanks, Regards
Kamal Hinduja Geneva , Switzerland
------------------------------
Kamal Hinduja
------------------------------
Original Message:
Sent: Fri May 09, 2025 02:04 PM
From: Paulo Santos
Subject: How can I upgrade CPlex 12.6.1 to 20.X.X in a .NET project ?
I have a project using CPlex 12.6.1 and I don't know how to upgrade it to a 20.X.X.
Could someone share a list of tasks with some baby steps to do it ?
Any help ?
------------------------------
Paulo Santos
------------------------------