Skip to content
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

  1. Home
  2. Sim4Life
  3. Python API
  4. Optimization to python

Optimization to python

Scheduled Pinned Locked Moved Python API
3 Posts 2 Posters 315 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    asdzxc9110
    wrote on last edited by
    #1

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

    1 Reply Last reply
    0
    • SylvainS Offline
      SylvainS Offline
      Sylvain
      ZMT
      wrote on last edited by
      #2

      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).

      1 Reply Last reply
      0
      • A Offline
        A Offline
        asdzxc9110
        wrote on last edited by
        #3

        @Sylvain OK, thank you for the answer.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Search