code: @Override
      public double calculateSolverTimeGradient(DefaultSolverScope solverScope) {
          double timeGradient = 0.0;
          for (Termination termination : terminationList) {
              double nextTimeGradient = termination.calculateSolverTimeGradient(solverScope);
              if (nextTimeGradient >= 0.0) {
                  timeGradient = Math.max(timeGradient, nextTimeGradient);
              }
          }
          return timeGradient;
      }
docs: Calculates the maximum timeGradient of all Terminations.
  Not supported timeGradients (-1.0) are ignored.
  @param solverScope never null
  @return the maximum timeGradient of the Terminations.