run_nlopt_scipy
- compas_tno.solvers.run_nlopt_scipy(analysis)
Run nonlinear optimisation problem with SciPy.
This function is kept for backward compatibility. New code should use ScipySolver class.
- Parameters:
- analysisAnalysis
Analysis object with information about optimiser, form and shape.
- Returns:
- resultSolverResult
The SolverResult object with the key solution information.
Notes
This function wraps the new ScipySolver class for backward compatibility. For new code, prefer using:
solver = ScipySolver(settings=optimiser.settings) result = solver.solve(problem, objective=fobj, constraints=fconstr, ...)