def generator_tuple_int_set(random, args):
    """
    Function to generate a new individual using the integer representation.
    The function returns two integer sets.

    Args:
        random: the random number generator object
        args (dict): keyword arguments

    Returns:
        tuple : returns a tuple with two integer sets.

    """
    size1 = random.randint(1, args["candidate_max_size"][0])
    size2 = random.randint(1, args["candidate_max_size"][1])
    # first element of array has the lowers bounds and second element the upper bounds.
    bounder = args["_ec"].bounder
    set1 = {random.randint(bounder.lower_bound[0], bounder.upper_bound[0]) for i in range(size1)}
    set2 = {random.randint(bounder.lower_bound[1], bounder.upper_bound[1]) for i in range(size2)}
    return (set1, set2)