From: Sanjeev Rao on 19 Apr 2010 11:28 Hello everyone, I am using FMINCON, and I am trying to pass a variable computed in the objective function file to the non linear constraint file. This is because the variable I want to pass is dependent on the design parameter which is being optimized. Both the computed variable and the design parameter are needed in the constraint file to satisfy a nonlinear constraint. However, I am at a loss trying to figure out how to pass the extra variable which is computed each time the optimizer runs, in addition to the design parameter. Any help on this would be greatly appreciated. I tried to look at nested and anonymous functions, but the examples listed show the extra parameters as constants, and hence can be passed from the fmincon calling file itself. Any help on this would be greatly appreciated. Regards, Sanjeev
|
Pages: 1 Prev: selective loop programming & switch Next: HDL Coder one-bit input/output signals |