I am using the "ga" function to use a genetic algorithm for my optimization problem.
The "exitflag" returned is 1, which I think indicates that the optimization was successful. However, it consistently violates one of my linear constraints. Is this a bug?
Best Answer