How can I use integer constraints in fgoalattain?
古いコメントを表示
I want to optimize for a number of conductors, and one of the inputs of the function is an integer. In particular, it is an index of a conductor's values in a matrix, containing all of the info from size to cost to resistance of that conductor for the rest of the function.
I currently have this capability with the optimization function "ga", the genetic algorithm, but I also would like to have the function aim to get underneath a certain value of voltage drop, or "goal".
Is this possible? The INTCON option seems like it would work for all of the optimization functions, but it only appears to be in GA.
This is also a multi-objective optimization problem; another reason I feel fgoalattain will be useful. If it's possible to set goals in the genetic algorithm, that would also be great.
Thanks in advance for your time!
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Surrogate Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!