登录
首页 » matlab » 0-1programming

0-1programming

于 2006-07-01 发布 文件大小:1KB
0 222
下载积分: 1 下载次数: 113

代码说明:

  0-1整数规划有很广泛的应用背景,比如指派问题,背包问题等等,实际上TSP问题也是一个0-1问题,当然这些问题都是NP问题,对于规模较大的问题用穷举法是没有办法在可接受的时间内求得最优解的,本程序只不过是一个练习,得意之处是用递归法把所有解都排列出来。另:胡运权所著的《运筹学基础及应用(第三版)》第97页的例3,我用本程序求解得到的结果是:最优解是x*=(1,0, 0, 0, 0),最优值是f(x*)=8,但书求得最优解是x*=(1,0, 1, 0, 0),最优值是f(x*)=4,是不是书中写错了,请大家验证。以下是源程序,大家可以任意使用无版权问题,另外,如果大家有大规模的0-1规划的问题也希望提供给我,谢谢。变量个数至少是3个(0-1 Integer Programming is a very broad background, such as assignment, bags and so on. actually TSP is a 0-1, of course, these problems are NP, for larger problem with the law is not exhaustive approach in an acceptable time frame to obtain the optimal solution. this procedure is only one practice, farewell tour is the method used recursive all of the solutions to show. Another : Hu Yun-author of "operational research, and application base (third edition)" Article 97 of the three cases, I use this procedure to solve the result is : is the optimal solution x = (1,0, 0, 0, 0), the optimal values of f (x*) = 8, but the book is to find the optimum solution x = (1,0, 1, 0, 0), the optimal values of f (x*) = 4, the book is not a mistake, please certification. Following is the source)

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

发表评论

0 个回复

  • hello
    The classic hello.cpp
    2010-02-24 15:51:01下载
    积分:1
  • xiangganban
    处理相干斑的程序,可以借鉴和学习。经过本人编写(Speckle processing program, you can learn from. After I write)
    2013-09-15 21:23:57下载
    积分:1
  • onlineextremlinermachinestudy
    matlab版本的OLELM算法(在线极速序列机器学习算法),能进行模型训练和函数拟合。(matlab version OLELM algorithm (line speed serial machine learning algorithms), capable of model training and function fitting.)
    2013-09-04 14:29:31下载
    积分:1
  • huffman-algorithm
    this is implementation huffman algorithm,you must try code. i think you must try.
    2014-02-21 05:38:52下载
    积分:1
  • MATLAB-command
    matlab的一些典型的命令的操作名,我也不知道还怎么样介绍了(some typical matlab command operation)
    2012-05-09 10:45:33下载
    积分:1
  • fthe-Fractional-Fourier-Transform
    lfm线性信号的函数实现功能,用于chirp信号的处理(lfm linear function of the signal to achieve functional for chirp signal processing)
    2013-11-07 20:29:39下载
    积分:1
  • MATLAB_Guide_Finite_Elements_Interactive_Approach
    Matlab finite element finite guide book
    2010-06-05 09:12:49下载
    积分:1
  • hash
    哈希函数的matlab代码,此函数不可逆,具有加密功能。(Hash function matlab code, this function is not reversible, with encryption features.)
    2020-10-19 09:27:26下载
    积分:1
  • matlabSerial
    Matlab编写的用于接收串口数据并进行存储的程序。自动清屏,自动存储。存储格式为txt。(Matlab prepared for receiving serial data and stored procedures. Automatically clear the screen, automatically stored. Storage format is txt.)
    2020-11-11 11:29:45下载
    积分:1
  • Image_Power_Calc
    This matlab m-file computes the average image power of an image and displays a filtered image.
    2009-07-16 07:34:23下载
    积分:1
  • 696518资源总数
  • 105549会员总数
  • 12今日下载