How to identify the individuals not satisfying non-linear inequality constraints?
1 回表示 (過去 30 日間)
古いコメントを表示
I am using Genetic Algorithm to solve a problem which involves minimising a fitness function, subject to some non-linear inequality constraints and decision variables subject to integer constraint. I am setting Penalty as a non-linear constraint algorithm which adds a penalty to the fitness value of infeasible individual (not satisfying the constraint) depending on the constraint violation and worst feasible fitness value in that population.
I am also saving GA population history and scores during all generations. Now, I want to visualise that during each generation which individuals didn't satisfy the constraint and caused a penalty in fitness value?
I want to show whole optimisation process like individuals during 1st generation (feasible and infeasible), with corresponding fitness value and evolving to the optimum solution till last generation
5 件のコメント
Gifari Zulkarnaen
2020 年 2 月 20 日
If you know what are the constraints, make a constraint function, then input the individuals to get the constraint output (for knowing the infeasibility). Do you know the constraints?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Genetic Algorithm についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!