Optimization to python

I turned my optimization to python, but it had error. What can I do?
optimization.PNG

Hi, unfortunately the Optimizer built into Sim4Life does not have a Python interface at the moment, so it cannot be used this way.
If you are familiar with Python, you could of course write your own objective function using Sim4Life's Python API (for simulation and/or postprocessing pipelines) and use any third-party optimizer (e.g. that of scipy.minimize).

@Sylvain OK, thank you for the answer.