使用深度强化学习和注意力模型解决多目标TSP的Matlab代码。本模型接受四维输入(欧几里得类型)。对于混合类型的三维输入模型,可在RL_3static_MOTSP.zip中找到。用于可视化和比较的Matlab代码位于MOTSP_compare_EMO.zip。训练后的模型保存在tsp_transfer_dirs目录下。要测试模型,使用Post_process目录中的load_all_rewards。训练模型,请运行train_motsp_transfer.py。Matlab代码位于MOTSP_compare_EMO/Problems/Combinatorial MOPs/compare.m,用于生成帕累托前沿。