We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Photonics – Chinese

Photonics – Chinese

Topics related to Lumerical and more, in Chinese language.

利用python实现逆向设计

    • 一帆 朱
      Subscriber

      官方案例中,若要对相同结构同时优化两个fom的值,可以使用opt=opt1+opt2语句来实现,若是想优化 (fom1+fom2)/|fom1-fom2| 这个表达式的值,请问如何实现

    • Guilin Sun
      Ansys Employee

      我个人认为,这种超过一个FOM的基本上都是近似,因为目前的优化都是单目标函数,你要优化两个目标函数,采用某种表达式能否到达期望的效果很难说。比如优化 (fom1+fom2)/|fom1-fom2| 让它最大化,那么两者越接近数值就越大;如果最小化,其中一个为零,另外一个最小也能实现。所以第一步要考虑你构建的目标函数能否实现最优?你不妨假设它们的取值范围,计算一下看看它们何时最大?何时最小?

      假设能够实现,你就把新计算的结果做为FOM。

      现在有双目标函数优化算法,如果能用一个目标函数就能实现双目标优化,为什么开发多目标优化函数?除非之前的定义的两个目标函数并不是独立的。

Viewing 1 reply thread
  • The topic ‘利用python实现逆向设计’ is closed to new replies.