Good day
I'm working with Genetic Algorithms in MATLAB using the Global Optimization Toolbox. I'm quite experienced in this area. My question is as follows:
How do I specify constraints that are not just reliant on the input variable. I.e. a constrain that may be a function of the output or an intermediate variable.
NOTE: The output of this system is calculated from a "black box" (it's a PSS SINCAL simulation).
At this stage I've been using a workaround - making the fitness function a very high value when the output is not within the constraints. Looking for a more elegant solution.
Thank you
Elvis