资源简介
基于NSGA-2思想的多目标优化程序,采用进化算法处理多目标实值优化问题

代码片段和文件信息
/*==========================================================================
// Implementation of MOEA/D based on Differential Evolution (DE) for Continuous Multiobjective
// Optimization Problems with Complicate Pareto Sets (2007)
//
// See the details of MOEA/D-DE and test problems in the following paper
// H. Li and Q. Zhang Comparison Between NSGA-II and MOEA/D on a Set of Multiobjective Optimization
// Problems with Complicated Pareto Sets Technical Report CES-476 Department of Computer Science
// University of Essex 2007
//
// The component functions of each test instance can be found in “objective.h“.
//
// The source code of MOEA/D-DE and NSGA-II-DE were implemented by Hui Li and Qingfu Zhang
//
// If you have any questions about the codes please contact
// Qingfu Zhang at qzhang@essex.ac.uk or Hui Li at hzl@cs.nott.ac.uk
===========================================================================*/
#include “common\global.h“
#include “DMOEA\dmoeafunc.h“
#include “NSGA2\nsga2func.h“
void execute(char *alg);
void main()
{
// The settings of test instances F1-F9
// char *ins[] = {“F1“ “F2“ “F3“ “F4“ “F5“ “F6“ “F7“ “F8“ “F9“}
int pof[] = { 21 21 21 21 21 31 21 21 22}; // type of pareto front
int pos[] = { 21 22 23 24 26 32 21 21 22}; // type of pareto set
int dis[] = { 1 1 1 1 1 1 3 4 1}; // type of non-negative function
int var[] = { 30 30 30 30 30 10 10 10 30}; // dimensionality of search space
int obj[] = { 2 2 2 2 2 3 2 2 2}; // number of objective functions
// The settings of algorithms
int pop[] = {300 300 300 300 300 595 300 300 300}; // population size
int gen[] = {500 500 500 500 500 500 500 500 500}; // number of generations
for(int i=0; i<1; i++)
{
// the parameter setting of test instance
dtype = dis[i];
ptype = pof[i];
ltype = pos[i];
nvar = var[i];
nobj = obj[i];
// the parameter setting of MOEA/D-DE and
pops = pop[i];
max_gen = gen[i];
sprintf(strTestInstance“P%dD%dL%d“ptype dtype ltype);
printf(“Instances: pf shape %d - distance %d - ps shape %d \n “ ptype dtype ltype);
execute(“NSGA-II“);
}
}
void execute(char *alg)
{
std::fstream fout;
char filename[1024];
// compute IGD-values
sprintf(filename“GD/GD_NSGA2_%s.dat“strTestInstance);
fout.open(filenamestd::ios::in);
for(int run=1; run<=max_run; run++)
{
vector gd;
CNSGA2 NSGA2;
gd = NSGA2.execute(run);
for(int k=0; k fout< fout<<“\n“;
gd.clear();
}
fout.close();
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4781 2007-05-31 11:16 MOEA\common\benchmark.h
文件 6090 2007-06-11 01:34 MOEA\common\common.h
文件 2153 2007-10-29 12:15 MOEA\common\global.h
文件 1317 2007-04-14 18:45 MOEA\common\mylib.h
文件 6142 2007-10-29 11:26 MOEA\common\ob
文件 1344 2006-06-29 03:42 MOEA\common\random.h
文件 9587 2007-10-18 13:54 MOEA\common\recombination.h
文件 2562 2007-10-29 11:36 MOEA\DMOEA\dmoeaclass.h
文件 9108 2007-10-29 12:18 MOEA\DMOEA\dmoeafunc.h
文件 17034 2007-09-13 18:51 MOEA\F6Weight500.dat
文件 2888 2011-05-26 21:48 MOEA\main_moea.cpp
文件 4997 2011-05-26 20:30 MOEA\MOEA.dsp
文件 531 2007-04-19 22:33 MOEA\MOEA.dsw
文件 222208 2011-05-26 22:50 MOEA\MOEA.ncb
文件 56832 2011-05-26 22:50 MOEA\MOEA.opt
文件 1278 2011-05-26 20:59 MOEA\MOEA.plg
文件 1233 2007-04-19 16:55 MOEA\NSGA2\NSGA2.plg
文件 1750 2007-10-29 11:07 MOEA\NSGA2\nsga2class.h
文件 7181 2011-05-26 22:16 MOEA\NSGA2\nsga2func.h
文件 17000 2007-05-25 15:22 MOEA\PF\pf_P21D1L21.dat
文件 17000 2007-05-25 15:22 MOEA\PF\pf_P21D1L22.dat
文件 17000 2007-05-25 15:22 MOEA\PF\pf_P21D1L23.dat
文件 17000 2007-05-25 15:22 MOEA\PF\pf_P21D1L24.dat
文件 17000 2007-05-25 15:22 MOEA\PF\pf_P21D1L25.dat
文件 17000 2007-05-25 15:22 MOEA\PF\pf_P21D1L26.dat
文件 17000 2007-05-25 15:22 MOEA\PF\pf_P21D2L22.dat
文件 17000 2007-05-25 15:22 MOEA\PF\pf_P21D3L21.dat
文件 17000 2007-05-25 15:22 MOEA\PF\pf_P21D3L22.dat
文件 17000 2007-05-25 15:22 MOEA\PF\pf_P21D4L21.dat
文件 17000 2007-06-01 12:38 MOEA\PF\pf_P22D1L22.dat
............此处省略22个文件信息
相关资源
- 大斜度定向井钻井设计优化及应用实
- zen_cart_1.3.9h_ 配置文件优化
- 背景差分法 多目标跟踪
- 120项注册表优化键
- LED背光的设计与优化
- 机械最优化设计及应用实例
- 数据库查询优化算法
- 目标进化算法源代码(SPEA)
- 基于经济时间序列预测的露天矿开采
- Pareto-Beta跳扩散期权定价模型的校正
- SentinelRMSToolkitv2.0.rar
- 锁相环回路滤波器设计优化
- 多目标跟踪MOT16_Benchmark数据集链接
- 基于进化博弈论两种群的生灭过程
- 看大型金融机构如何用新一代VTL优化
- 注册表优化工具(Systweak RegClean Pro)
- DAC34H84 HD2 性能优化与 PCB 布局建议
- 金钗石斛低聚糖提取工艺优化及其抗
- 基于进化算法的岩体参数智能识别
- 大峰露天矿开拓运输系统设计优化
- 编译原理实验:词法分析,语法分析
- 自适应粒子群优化算法及其应用
- Convex Analysis and Optimization (Bertsekas
- 基于蚁群算法优化SVM的瓦斯涌出量预
- 西班牙Telefonica电信公司采用Sun数据仓
- 基于ANASYS的综掘工作面通风参数优化
- 中厚板柔性加劲优化设计
- IBM SVC通过优化实现实时存储
- 在矩阵模型的四次相互作用的大N极限
- 企业级存储系统:高效、虚拟化及闪
评论
共有 条评论