登录
首页 » 算法 » 用基本蚁群算法求解0

用基本蚁群算法求解0

于 2022-06-22 发布 文件大小:861.10 kB
0 199
下载积分: 2 下载次数: 1

代码说明:

采用了基本的蚁群算法来求解0-1背包问题,该算法不仅可以对0-1背包问题进行求解,还可以对多维背包问题进行求解。-Using the basic ant colony algorithm to solve the 0-1 knapsack problem, the algorithm not only for the 0-1 knapsack problem can be solved, but also multi-dimensional knapsack problem can be solved.

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

发表评论

0 个回复

  • 魔方 即横竖斜的数字和都相等的方阵
    魔方算法 即横竖斜的数字和都相等的方阵-Cube algorithm that regardless of the number of ramps and are equal to the matrix
    2022-03-13 15:25:23下载
    积分:1
  • 三次样条插值逼近函数
    三次样条插值逼近函数-cubic spline interpolation function approximation
    2023-07-23 15:30:03下载
    积分:1
  • 标准PSO 2011版
    一个可作为标准的PSO算法C语言程序,2011版。可读性极其高,这也是牺牲了一小点性能换取而来的。借鉴了众多权威人士的工作,得到了他们之中许多人的意见。
    2022-04-14 17:02:11下载
    积分:1
  • 100个经典的C
    C语言的学习要从基础开始,这里是100个经典的算法
    2023-07-22 09:35:03下载
    积分:1
  • 一、问题的提出: 某厂根据计划安排,拟将n台相同的设备分配给m个车间,各车间获得这种设备后,可以为国家提供盈利Ci j(i台设备提供给j号车间将得到的利润,...
    一、问题的提出: 某厂根据计划安排,拟将n台相同的设备分配给m个车间,各车间获得这种设备后,可以为国家提供盈利Ci j(i台设备提供给j号车间将得到的利润,1≤i≤n,1≤j≤m) 。问如何分配,才使国家得到最大的盈利L 二.算法的基本思想: 利用动态规划算法的思想,设将i台设备分配给j-1个车间,可以为国家得到最大利润Li (j-1)(1≤i≤n,1≤j≤m),那么将这i台设备分配给j个车间,第j个车间只能被分配到0~i台,所以我们只要算出当第j个车间分配到t(0
    2022-11-07 12:55:03下载
    积分:1
  • 从与相关的快速中分离
    离散相关和自相关的快速算法-separated from the relevant and related to the fast algorithm
    2023-07-04 00:20:03下载
    积分:1
  • GAC模型,迎风方案
    im=imread("e:301clip301.tif"); im=rgb2gray(im);              im=double(im); im = imresize( im, 0.5 );    % 为了减少程序运行时间,将图像变小为原来大小的1/2 figure(1);imshow(uint8(im)); [nrow,ncol]=size(im); J= gauss( im,3,2 );          % 为了计算函数g,先对图像作guassian预平滑 %%- 计算图像梯度模值 J_x = (J(:,[2:ncol ncol])-J(:,[1 1:ncol-1]))/2; J_y = (J([2:nrow nrow],:)-J([1 1:nrow-1],:))/2;       请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-04-14 21:25:24下载
    积分:1
  • 基于遗传的K-means研究
    (Genetic Algorithm Based K-means algorithm, related program and algorithm description.)
    2022-06-01 23:06:04下载
    积分:1
  • ffmpg库的源码
    FFmpeg README ------------- 1) Documentation ---------------- * Read the documentation in the doc/ directory. 2) Licensing ------------ * Read the file COPYING. ffmpeg and the associated libraries EXCEPT   liba52 and libpostproc are licensed under the Lesser GNU General   Public License. * liba52 and libpostproc are distributed under the GNU General Public   License and their compilation and use is optional in ffmpeg. Fabrice Bellard.
    2022-07-03 09:19:29下载
    积分:1
  • 含有线性插值, 样条插值,Gauss矩阵列主元消去的实现
    含有线性插值, 样条插值,Gauss矩阵列主元消去法等算法的实现 -with linear interpolation, spline interpolation, Gauss matrix main-element elimination algorithm Law Implementation
    2022-09-23 08:20:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载