微波EDA網(wǎng)-關(guān)于我們 微波EDA網(wǎng)-出版的圖書專著 微波EDA網(wǎng)培訓(xùn)課程列表 射頻工程師養(yǎng)成培訓(xùn)學(xué)習(xí)教程
  • 1
  • 2
  • 3
  • 4

Cost Function

Optimetrics manipulates the model's design variable values to find the minimum location of the cost function; therefore, you should define the cost function so that a minimum location is also the optimum location. For example, if you vary a design to find the maximum transmission from Wave Port 1 to Wave Port 2 (S21=>1), define the cost function to be -mag(S(WavePort2,WavePort1)).

When using the Quasi Newton optimizer, which is appropriate for designs that are not sensitive to noise, the best cost function is a smooth, second-order function that can be approximated well by quadratics in the vicinity of the minimum; the slope of the cost function should decrease as Optimetrics approaches the optimum value. The preferred cost function takes values between 0 and 1. In practice, most functions that are smooth around the minimum are acceptable as cost functions. Most importantly, the cost function should not have a sharp dip or pole at the minimum. A well designed cost function can significantly reduce the optimization process time.

The cost function is defined in the Setup Optimization dialog box when you set up an optimization analysis. If you know the exact syntax of the solution quantity on which you want to base the cost function, you can type it directly in the Calculation text box. You can also use Setup Calculations to add a solution quantity via the Add/Edit Calculation dialog box, or to create an output variable that represents the solution quantity in the Output Variables dialog box.

Related Topics

Adding a Cost Function

Acceptable Cost

Cost Function Noise

Linear Constraints

Goal Weight

Step Size

Explanation of L1, L1, Norm Costs in Optimization