Originally posted by: AugustoMorais
Hi Everybody.
I had the same issue running IBM Cplex Studio (12.7.1) on Arch Linux: "Cannot connect to solving process". Fortunately with the comments here, all issues has been fixed. I decided summarize all steps that I made to fix it:
Add some IBM Cplex vars in env PATH. In my case is .zshrc maybe you use bash, csh...:
export PATH=/opt/ibm/ILOG/CPLEX_Studio1271/cplex/bin/x86-64_linux:/opt/ibm/ILOG/CPLEX_Studio1271/opl/oplide:/opt/ibm/ILOG/CPLEX_Studio1271/opl/bin/x86-64_linux
LD_LIBRARY_PATH=/opt/ibm/ILOG/CPLEX_Studio1271/opl/bin/x86-64_linux
export LD_LIBRARY_PATH
Create the oplide.options file on /opt/ibm/ILOG/CPLEX_Studio1271/opl/oplide/
ilog.odms.ide.core/forcecollocated=true
Create a custom desktop entry (/HOME/.local/share/applications/oplide.desktop) to run with rofi launcher (you can use the gnome launcher, xfce...):
[Desktop Entry]
Type=Application
Version=12.7.1
# The name of the application
Name=IBM Ilog CPLEX Optimization Studio
# A comment which can/will be used as a tooltip
# The path to the folder in which the executable is run
Path=/opt/ibm/ILOG/CPLEX_Studio1271/opl/oplide
# The executable of the application, possibly with arguments.
Exec=/opt/ibm/ILOG/CPLEX_Studio1271/opl/oplide/oplide -debug /opt/ibm/ILOG/CPLEX_Studio1271/opl/oplide/oplide.options
# The name of the icon that will be used to display this entry
Icon=
# Describes whether this application needs to be run in a terminal or not
Terminal=false
# Describes the categories in which this entry should be shown
Categories=Education;Languages;Java;
Thanks for all guys!
Augusto Morais
#DecisionOptimization#OPLusingCPLEXOptimizer