1

I'm playing with doopl in python.

And I would like to set minimal gap tolerance with

opl.cplex_stats.MiPRelativeGap()=5

which doesn't work.

If possible, I want to make run-time limit.

But I couldn't find and resources that has does parameter settings.

I believe it is not allowed. Am I right?

1 Answers1

1

You may do that in the opl model itself

See

https://github.com/AlexFleischerParis/zooopl/blob/master/zoosetting1.mod

And use cplex.epgap = 0.05;

halfer
  • 19,824
  • 17
  • 99
  • 186
Alex Fleischer
  • 9,276
  • 2
  • 12
  • 15