def make_var_name_factory(person_list, alternative_list):
    """Create an LpVariable name factory that accepts indexes"""
    def name_factory(i, j):
        person = person_list[i]
        alternative = alternative_list[j]
        return f"Choice:{person},{alternative}"
    return name_factory