Page 1 of 1

User defined optimization function based on output

Posted: 30 Nov 2015, 07:50
by Qin
Hi Michael,

Let's say if I defined a parameter S by computing the output, something like Sx, Sdelta but cannot be expressed by the known parameters of Elegant. Is it possible to use this parameter S as the optimization function in simulation ? To minimize or maximize it ?

Thanks,

Qin

Re: User defined optimization function based on output

Posted: 01 Dec 2015, 00:16
by michael_borland
Qin,

I'm not 100% sure I understand the question. Are you asking if there is a way to compute quantities from elegant's output files external to elegant, then use the results of those computations in an optimization?

If so, the answer is "yes and no." This can't be done using elegant's internal optimizer. However, it can be done using an external optimizer such as sddsoptimize or geneticOptimizer. Both of these are distributed from our web site.

If this isn't what you are asking, please explain further.

--Michael