def TourType_idx_rule(M):
    """
    Index is (start window, tour type)

    :param M: Model
    :return: Variable index (list of tuples)
    """
    return [(i, t) for i in M.WINDOWS
            for t in M.activeTT
            if (i, t) in M.okTourType]