optimizationmodelcplexopl

Turning off Presolve option in CPLEX OPL


Does anyone know how to disable "presolve" in CPLEX? (without using Java, C++, etc.)

My CPLEX Version is 12.4, in case it makes a difference.

Thanks in advance,


Solution

  • After trying to find how certain parameters can be changed in CPLEX, I have found the answer to my own question.

    To change parameters (using CPLEX only) you don't need to type in any code. All you have to do is creating a "Settings" file within your project file.

    You can follow these steps:

    1. In the "OPL Projects" window right click and select "New->Settings"
    2. Give a name to your settings file and click OK.
    3. Change the parameters as you wish (to find the related setting you can type in the name of the parameter in the search bar, in my case it worked when i searched for "Preprocessing". From the menu that appeared I unchecked the box called "Presolve indicator")
    4. Add the "Settings" file to your desired Run Configuration file to apply changes. In this case, CPLEX uses the parameters in your Settings file instead of the default values.

    And that is all :)