登录
首页 » C# » 模拟退火算法解决TSP问题,用固体退火模拟组合优化问题,将内能E模拟为目标函数值f,温度T演化成控制参数t,即得到解组合优化问题的模拟退火算法:由初始解i和控制...

模拟退火算法解决TSP问题,用固体退火模拟组合优化问题,将内能E模拟为目标函数值f,温度T演化成控制参数t,即得到解组合优化问题的模拟退火算法:由初始解i和控制...

于 2022-02-20 发布 文件大小:1.29 kB
0 126
下载积分: 2 下载次数: 1

代码说明:

模拟退火算法解决TSP问题,用固体退火模拟组合优化问题,将内能E模拟为目标函数值f,温度T演化成控制参数t,即得到解组合优化问题的模拟退火算法:由初始解i和控制参数初值t开始,对当前解重复“产生新解→计算目标函数差→接受或舍弃”的迭代,并逐步衰减t值,算法终止时的当前解即为所得近似最优解-Simulated annealing algorithm to solve the TSP problem, combined with solid-annealing simulation optimization problems, the internal energy E is modeled as the objective function value f, temperature T evolved into control parameter t, that is to be solutions of combinatorial optimization problems simulated annealing algorithm: from the initial solution i and control the parameters of the initial value t begin to repeat the current solution, " to generate new solutions of differential → → calculation of the objective function to accept or give up," iteration, and gradually decay t values, the algorithm is terminated shall be derived from the current approximate solution of the optimal solution

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 基于DSP28335 的GPS模块应用
    代码是本人花费大量时间编写并成功调试通过 并能实时接收GPS信息   效果非常好  不存在报错  适合新手入门学习 代码书写规范 并且配有代码注释 可读性很高 通俗易懂
    2022-01-22 06:15:59下载
    积分:1
  • KeyboardHook
    VC++ 键盘监控程序,可键盘输入文本,当你按下键盘上的每一个键的时候,它都可以监控到,并弹出窗口告诉你按下的是哪个键,是基于HOOK技术来说的。(VC++ keyboard monitoring procedures, keyboard input text when you press each key on the keyboard, it can be monitored, and the pop-up window telling you which key is pressed, it is based on the HOOK technology.)
    2013-12-22 15:43:07下载
    积分:1
  • PQ
    说明:  应用于并网的分布式发电或微网系统 PQ控制要求电站的有功和无功是可控的(The distributed power generation or microgrid system PQ control applied to the grid requires that the active and reactive power of the plant is controllable)
    2017-09-20 19:18:08下载
    积分:1
  • Unity3D从入门到精通
    说明:  Unity3D从入门到精通编程资料pdf教程(Unity3D from Introduction to Proficiency in Programming Data PDF Course)
    2020-06-24 17:00:02下载
    积分:1
  • barcodeTry
    串口通信,C#,winform窗口,可实现一个小的串口助手的程序。(Serial communication, C#, WinForm window, can implement a small serial port assistant program.)
    2021-04-21 08:38:49下载
    积分:1
  • 一个记事本,用C#编写的基本实现所有的功能了!
    一个记事本,用C#编写的基本实现所有的功能了!-A notebook, using C# The preparation of the basic realization of all the functions of the!
    2022-05-27 09:36:13下载
    积分:1
  • LoadBmp
    运用Visual C++,实现对彩色BMP图像的读取,并且能够显示出来。(Use Visual C++, achieve the right color BMP images read, and can be displayed.)
    2013-05-22 11:52:09下载
    积分:1
  • dllexample
    labview 调用MATLAB的DLL的例子 ,很有参考作用 (MATLAB calls the DLL labview examples of useful reference)
    2010-08-14 16:30:40下载
    积分:1
  • DES_C
    这是一个c语言的例子,是有关于加解密的程序,包含DES算法实现等(This is an example of C language, is about encryption and decryption procedures, including DES algorithm implementation, etc.)
    2020-07-01 10:00:02下载
    积分:1
  • C# pop3 邮件接收程序
    private void Connect_Click(object sender, System.EventArgs e)        {            //将光标置为等待状态            Cursor cr = Cursor.Current;            Cursor.Current = Cursors.WaitCursor;            String a ,b,c;              //用110端口新建POP3服务器连接            Server = new TcpClient(PopServer.Text, 110);            Status.Items.Clear();             try            {                //初始化                NetStrm = Server.GetStream();                RdStrm = new StreamReader(Server.GetStream());                Status.Items.Add(RdStrm.ReadLine());                 //登录服务器过程                Data = "USER " Username.Text CRLF;                szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray());                NetStrm.Write(szData, 0, szData.Length);                Status.Items.Add(RdStrm.ReadLine());                 Data = "PASS " Password.Text CRLF;                szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray());                NetStrm.Write(szData, 0, szData.Length);                Status.Items.Add(RdStrm.ReadLine());                 //向服务器发送STAT命令,从而取得邮箱的相关信息:邮件数量和大小                Data = "STAT" CRLF;                szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray());                NetStrm.Write(szData, 0, szData.Length);                //Status.Items.Add(RdStrm.ReadLine());                 //改变按钮的状态                Connect.Enabled = false;                Disconnect.Enabled = true;                Retrieve.Enabled = true;                 //将光标置回原来状态                Cursor.Current = cr;             }            catch (InvalidOperationException err)            {                Status.Items.Add("Error: " err.ToString());            }        }
    2014-11-02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载