Do not use nonlinear constraint functions to effect linear constraints and bounds. Your first five nonlinear inequality constraints should be represented as bounds: x(1) through x(4) have lower bounds of 0, and x(15) has an upper bound of 0.3.
Don't bother trying to optimize a smooth function with smooth constraints using ga. The solver of choice for such problems is fmincon.
Do x(13) and x(14) have to be between -0.25 and 0.25? If so, give these as bounds.
I suggest that you examine your problem carefully to see if you can bound each component, and then include the tightest bounds you can in the problem.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
Best Answer