def alpha_conf(x, t):
    """This function is used to calculate the alpha function with time-varying
    conflicting objective. Input are decision variable (x) and time (t).
    """
    k = int(abs(5.0 * (int(DELTA_STATE * int(t) / 5.0) % 2) - (DELTA_STATE * int(t) % 5)))
    return [x[0], 1 - np.power(x[0], \
                               np.log(1 - 0.1 * k) / np.log(0.1 * k + np.finfo(float).eps))]
This function is used to calculate the alpha function with time-varying
    conflicting objective. Input are decision variable (x) and time (t).
    
pymoo/vendor/gta.py