def MWDW_total_idx_rule(M):
    """
    The index for the MWDW constraints is (window, tour type)
    in the set okTourType.

    :param M: Model
    :return: Constraint index rule
    """

    return [(i, t) for (i, t) in M.okTourType]