Debug mode
Explains how to work with your model in debug mode.
By default, the debug mode is on. It is a good practice
to keep it on while you develop your application because it helps
you diagnose problems. In particular, you need to have it on if you
experience a core dump when running Java code. However, the debug
mode slows down your application. You should therefore make sure you
turn it off when you release your application. To do this, use the
method IloOplFactory.setDebugMode .
When the default debug mode is on, a warning message prints to the console. The message is disabled when you turn the debug mode off. You can disable the message while still running in debug mode by a call to the method IloOplFactory.setDebugModeWarning(false).
To turn off the warning, call the method
IloOplFactory.setDebugModeWarning(false)
or
OplFactory.DebugModeWarning = false;
before the IloOplFactory or OplFactory constructor is called:
IloOplFactory.setDebugModeWarning(false);
IloOplFactory oplF = new IloOplFactory();
IloOplErrorHandler errHandler = oplF.createOplErrorHandler();
The same applies if you work with .NET interfaces.