import sys
import time
from random import shuffle
from vania.fair_distributor import FairDistributor


def main():
    # User input for the number of targets and objects.
    users = ['user1', 'user2']
    tasks = ['task1', 'task2']
    preferences = [
        [1, 2],
        [2, 1],
    ]

    # Run solver
    start_time = time.time()
    distributor = FairDistributor(users, tasks, preferences)
    output = distributor.distribute(output='problem.lp')
    elapsed_time = time.time() - start_time

    # Output
    print(output)

if __name__ == '__main__':
    main()

import sys
import time
from random import shuffle
from vania.fair_distributor import FairDistributor


def main():
    # User input for the number of targets and objects.
    users = ['user1', 'user2']
    tasks = ['task1', 'task2']
    preferences = [
        [1, 2],
        [2, 1],
    ]

    # Run solver
    distributor = FairDistributor(users, tasks, preferences)
    output = distributor.distribute(output='problem.lp')

    # Output
    print(output)

if __name__ == '__main__':
    main()

Remove time metrics from the simple example