Optimization to python
Python API
3
Posts
2
Posters
318
Views
2
Watching
-
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 third-party optimizer (e.g. that ofscipy.minimize
). -
@Sylvain OK, thank you for the answer.