'how can i set the gap limit in cplex?

I would like to set the 30% gap limit. How can I do this using the setting file? I tried to modify the MIP tolerance part setting "relative MIP gap tolerance" to 0,30 but after run going to the engine log part, it doesn't appear that cplex has set this gap. How can I do? Thank you.



Solution 1:[1]

In OPL you would write

execute
{
cplex.epgap=0.3;
}

and if you use a .ops file (settings) do not forget to add the .ops file to the run configuration.

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Alex Fleischer