There are multiple ways to set a termination limit in multi-objective environments:
- You can set a global limit in the main Gurobi environment. This limit will then be inherited by each Model object created in this environment.
Note: The limits of the model take precedence over those in the environment and will not be changed by subsequent modifications to the environment.
- After creating an environment for each objective, you can define new limits for each objective's environment in order to control the termination. For every criterion, the one that is reached first will terminate the optimization. Limits from multi-objective environments do not override the model limits.