def _solveTP(argdict):
    """
    Function that will be called by parallelizedTP with pool.map

    (must be defined on module level due to technical restrictions)

    :param argdict:
    :return:
    """
    from pytrajectory.system import TransitionProblem
    index, total = argdict.get('progress_info', (1, 1))
    print('Run {} / {}; \n with arguments: {}'.format(index, total, argdict))
    TP = TransitionProblem(**argdict)
    return TP.solve(return_format='info_container')
