登录
首页 » matlab » 0-1programming

0-1programming

于 2006-07-01 发布 文件大小:1KB
0 259
下载积分: 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 个回复

  • peEllip5
    本程序是用五点差分格式解拉普拉斯方程,采用MATLAB作为开发环境,拉普拉斯方程有广泛的应用,五点差分格式的精度高 (This procedure is a five-point difference scheme for solution of Laplace equation, using MATLAB as a development environment, Laplace equation has a wide range of applications, a five-point difference schemes of high accuracy)
    2009-05-02 20:15:47下载
    积分:1
  • Matlab-GUI_example
    此资料中包含5个Matlab GUI 小程序,分别是信号分析、不同图形绘制、极点图绘制、时域频域信号绘制、滑动数字显示。(This data contains five Matlab GUI applets, which are signal analysis, different graphics rendering, pole drawing, draw time-domain frequency domain signal, sliding digital display.)
    2013-12-25 17:48:18下载
    积分:1
  • floyd
    经过测试通过的floyd,matlab程序(Tested by the floyd, matlab program)
    2011-08-29 20:22:20下载
    积分:1
  • GUI
    用GUI实现对基带传输系统,最终得到误码率,和过程中的波形(realize the baseband tansmation of GUI)
    2010-11-04 20:16:56下载
    积分:1
  • ecgpuwave-m
    many codes for ECG signal that load, read annotator, detects peaks, and more functions
    2013-03-15 22:30:46下载
    积分:1
  • spaceintersection
    About Image intersection using LS technique
    2014-11-10 00:30:37下载
    积分:1
  • 1673
    matlab仿真微分方程,分别用欧拉法,改进欧拉法,龙格库塔法,四阶adams显式隐式算法对比精度。(matlab simulation of differential equations, respectively, with Euler, improved Euler method, Runge-Kutta method, fourth-order implicit algorithm adams explicit comparison accuracy.)
    2013-08-02 10:50:14下载
    积分:1
  • ANFIS
    fuzzy neural network ANFIS
    2013-05-14 16:15:37下载
    积分:1
  • ESS
    并网型微网储能容量的优化,经济性分析。Horizon为总周期,单位为小时(Optimization of energy storage capacity and economic analysis)
    2018-12-19 23:59:02下载
    积分:1
  • fenjieyigeyaun
    说明:  在matlab环境下生成一个正方形中心嵌套一个圆,并利用curvelet变换显示出其各个子层的系数图,良好的体现了curvelet变换的各向异性的性质。(In the matlab environment to generate a nested square center of a circle, and the use of curvelet transform shows that its coefficient of sublayer maps, a good reflection of the curvelet transform the nature of the anisotropy.)
    2009-04-13 19:48:04下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载