There are two ways to create custom criteria for optimization:
#Write custom criteria in java JavaScript on the '''Optimization Criteria''' tab of the '''Exhaustive Search Properties''' window or on the '''Algorithm-Specific Properties''' tab of the '''Genetic Algorith Properties''' window (see [[Performing Optimization]]); or:
#Create a custom signal using the [[SetCustomFitnessValue]] keyword in the PowerLanguage Editor specifying your custom criteria.