IBM Support

Message "OplRun is not responding, you must relaunch the RunConfig" in OPL IDE

Troubleshooting


Problem

Sometimes OPL IDE displays message "OplRun is not responding, you must relaunch the RunConfig".

Diagnosing The Problem

Starting with CPLEX Optimization Studio 12.2, OPL models are solved in an Oplrun process that is different from OPL IDE. The OPL IDE relies on inter-process communications to retrieve the status of the Oplrun process. The message "OplRun is not responding, you must relaunch the RunConfig" is typically seen when the Oplrun process stops before it is able to notify OPL IDE.

When you see this message, please check the following to diagnose the issue:
1. Solve the model directly in oplrun using the command-line interface. If you see errors when you solve the models in command-line interface, resolve those errors first.
2. Check the logs of the OPL workspace. (Its default location is %APPDATA%\IBM\ILOG\CPLEX Optimization Studio\12.2 for CPLEX Optimization Studio 12.2, and %APPDATA%\IBM\ILOG\CPLEX_Studio123\workspace for CPLEX Optimization Studio 12.3. The log file are <workspace>\.metadata\.log and <workspace>\.metadata\.oplrun.log) If there are unusual errors in the log file, you should try to fix the errors shown in the log file or contact customer support.

For example, if you see the following exception:

java.lang.StackOverflowError: operating system stack overflow
You can consider increasing operating system stack size by using -Xmso2048K (or larger if necessary) as a JVM argument in the run configuration. To do this, you will need to click OPL IDE menu "Run -> Browse Configuration ... ", and enter -Xmso2048K as a JVM argument. The below is a screenshot:


If a configuration can be solved by oplrun without any issue, but still fails in CPLEX Optimization Studio IDE without any related error messages, this could be caused by the additional memory required by the IDE features, such as profiler, automatic relaxation, conflict refinement, problem browser and so on. You can try to turn off the IDE features you do not need to save memory, or directly launch an oplrun within IDE. You can find a technote on launching oplrun sessions directly in IDE at the URL below:

http://www.ibm.com/support/docview.wss?uid=swg21588823

[{"Product":{"code":"SSSA5P","label":"IBM ILOG CPLEX Optimization Studio"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Area:OPL Studio IDE","Platform":[{"code":"PF033","label":"Windows"}],"Version":"12.4;12.3;12.2.0.1;12.2","Edition":"All Editions","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21568610