There are multiple ways to set a termination limit in multi-objective environments.
- You can set a global time limit in the main Gurobi environment.
This limit will then be inherited by each Model object when a model is 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 of each objective independently.
For every criterion, the one that is reached first will terminate the optimization. Limits from multi-objective environments do not override the model limits.