problem with genetic algorithm
my 6 variables optimization problem always shows this error.
"Optimization terminated: average change in the fitness value less than options. FunctionTolerance and constraint violation is less than options.ConstraintTolerance."
I’ve tried smaller Constraint Tolerance, increasing population and increasing stall generation but still the same error appears.
and one more thing
Every time I try to run the code this message appears several times and it takes me around five times pressing “run” button.my 6 variables optimization problem always shows this error.
"Optimization terminated: average change in the fitness value less than options. FunctionTolerance and constraint violation is less than options.ConstraintTolerance."
I’ve tried smaller Constraint Tolerance, increasing population and increasing stall generation but still the same error appears.
and one more thing
Every time I try to run the code this message appears several times and it takes me around five times pressing “run” button. my 6 variables optimization problem always shows this error.
"Optimization terminated: average change in the fitness value less than options. FunctionTolerance and constraint violation is less than options.ConstraintTolerance."
I’ve tried smaller Constraint Tolerance, increasing population and increasing stall generation but still the same error appears.
and one more thing
Every time I try to run the code this message appears several times and it takes me around five times pressing “run” button. genetic algorithm, optimization, matlab MATLAB Answers — New Questions