post_process_nlopt

compas_tno.solvers.post_process_nlopt(analysis)

Post processing of the optimisation.

This function is kept for backward compatibility with the Analysis workflow. It wraps the new apply_solution_to_form() function.

Parameters:
analysisAnalysis

The Analysis object

Returns:
analysisAnalysis

The Analysis object updated

Notes

For new code, prefer using:

result = solver.solve(problem)
problem = apply_solution_to_form(form, problem, result, settings)