Optimization to python

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

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 thirdparty optimizer (e.g. that ofscipy.minimize
). 
@Sylvain OK, thank you for the answer.