Discrete optimization with Genetic Algorithm - help
1 回表示 (過去 30 日間)
古いコメントを表示
Hi again, I have trouble carrying out this optimization procedure. I know that I should use penalty functions when I have a constrained problem. Does MATLAB implement any penalty? Is there any example on this method?!
0 件のコメント
採用された回答
Alan Weiss
2012 年 9 月 6 日
The documentation deals with nonlinear inequality constraints. The underlying algorithm for the nonlinear constraint solver uses penalty functions, but you don't have to do anything special, such as write your own penalty.
Alan Weiss
MATLAB mathematical toolbox documentation
9 件のコメント
Alan Weiss
2012 年 9 月 19 日
Again, I do not understand you. Sorry.
Perhaps you have a linear constraint in the variables a(x). You can write that as a nonlinear inequality constraint.
Perhaps you have a linear constraint in x. You can use the A, b matrices to represent that constraint.
You might mean something else. In that case, feel free to ask again, but I am afraid we are not communicating well.
Alan Weiss
MATLAB mathematical toolbox documentation
その他の回答 (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!