遗传算法非优化参数的约束条件怎么设置
24 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
在matlab中进行遗传算法优化,变量X1(比如说是压力) 的范围是1-15,这个上下边界可以在优化模块直接添加[1,15],但是还有一个变量T2(比如说是温度),要小于850K,但是这个变量T2是可以由X1求出来的(比如T2=X15+7),本质上就是一个变量,
问题是:T2小于850K这个限制条件我该怎么额外添加呢,我知道可以把T2=X15+7的关系式带入T2<850K中先手动计算出变量X1的范围,用X1的范围来表示T2<850K这个约束条件,但是如果变量增多时就非常麻烦了,有没有简单的办法直接添加T2<850K这个约束条件,谢谢
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Genetic Algorithm en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!