摘要
采用基于遗传算法的Matlab工具求解有约束的最优化问题,以函数ga()求解。首先,编写求解的目标函数,再在编写的主程序中加入语句,运行主程序,最后的结果也给出运算寻优过程中,各代的进化信息中得出。结果证明该工具是解决此类问题最有效工具之一。
Matlab toolbox based on genetic algorithm (GA) is used to solve constrainted optimization, and function ga( ) is the solving way. Firstly, the target function is compiled; then, the sentence is added into the main function, furthermore the main function is run; finally, each generation's information is provided during the random-searching process. The result shows that this toolbox is one of the most effective wavs to solve these questions.
出处
《兵工自动化》
2008年第11期43-44,共2页
Ordnance Industry Automation
关键词
遗传算法
MATLAB
约束
优化
Genetic algorithm
Matlab
Constraint
Optimization