onegpy.solutions.solution.copy_solution

onegpy.solutions.solution.copy_solution(solution, deep=False)[source]

Copy the target solution :param solution: solution object. target solution to copy :param deep: bool. deep copy or not. :return: solution object. copied solution.