run_nlopt_ipopt

compas_tno.solvers.run_nlopt_ipopt(analysis)

Run nonlinear optimisation problem with IPOPT.

This function is kept for backward compatibility. New code should use IPOPTSolver class.

Parameters:
analysisAnalysis

Analysis object with information about optimiser, form and shape.

Returns:
resultResult

The Result object with the key solution information.

Notes

This function wraps the new IPOPTSolver class for backward compatibility. For new code, prefer using:

solver = IPOPTSolver(settings=optimiser.settings)
result = solver.solve(problem, objective=fobj, constraints=fconstr, ...)