def METHOD_NAME(self, solution, inverse_data):
    """Returns the solution to the original problem given the inverse_data.
    """
    status = solution['status']
    if status in s.SOLUTION_PRESENT:
        opt_val = solution['value'] + inverse_data[s.OFFSET]
        primal_vars = {inverse_data[self.VAR_ID]: solution['primal']}
        return Solution(status, opt_val, primal_vars, None, {})
    else:
        return failure_solution(status)