-
C语言实现用遗传算法求函数极值
用遗传算法求y=x*sin(10*pi*x)+2的最大值 -1=
- 2022-07-16 07:19:29下载
- 积分:1
-
!
2 ! HOMPACK90 is a suite of FORTRAN 90 subroutines for solving nonline...
!
2 ! HOMPACK90 is a suite of FORTRAN 90 subroutines for solving nonlinear
3 ! systems of equations by homotopy methods. There are subroutines for
4 ! fixed point, zero finding, and general homotopy curve tracking problems,
5 ! utilizing both dense and sparse Jacobian matrices, and implementing
6 ! three different algorithms: ODE-based, normal flow, and augmented
7 ! Jacobian. The (driver) subroutines called by the user are given in the
8 ! table below, and are well documented internally. The user need not
9 ! be concerned with any other subroutines in HOMPACK90.
-!
2 ! HOMPACK90 is a suite of FORTRAN 90 subroutines for solving nonlinear
3 ! systems of equations by homotopy methods. There are subroutines for
4 ! fixed point, zero finding, and general homotopy curve tracking problems,
5 ! utilizing both dense and sparse Jacobian matrices, and implementing
6 ! three different algorithms: ODE-based, normal flow, and augmented
7 ! Jac
- 2022-07-21 06:18:17下载
- 积分:1
-
遗传算法解机组组合问题
本文针对当前科技水平不足以有效存储电力的情况下产生的发电机机组组合的问题,考虑负荷平衡、输电线传输容量限制等实际情况产生的约束条件,建立机组组合优化模型,追求发电成本最小。同时采用矩阵实数编码遗传算法(MRCGA)和穷举搜索算法,利用MATLAB 7.0.1和C++编程,分别对模型进行求解,并对所得结果进行分析比较,以此来帮助电力部门制定机组启停计划
- 2022-05-30 18:46:23下载
- 积分:1
-
学生管理系统
这是一篇很好的代码,希望可以帮助他人,而且我也收益颇多,所以我把这代码上传上来,希望可以解决更多人的问题
- 2022-02-27 01:33:11下载
- 积分:1
-
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是...
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是2 个正整数,a≤b,找出a 和b之间约数个数最多的数x。
对于给定的2 个正整数a≤b,编程计算a 和b 之间约数个数最多的数。
数据输入
输入数据由文件名为input.txt的文本文件提供。文件的第1 行有2 个正整数a和b。
结果输出
程序运行结束时,若找到的a 和b 之间约数个数最多的数是x,将div(x)输出到文件output.txt中。
输入文件示例 输出文件示例
input.txt output.txt
1 36 9
-Positive integer x can be about a few of the positive integer x divisible. Positive integer x the approximate number recorded as the number of div (x). For example, 1,2,5,10 are about 10 positive integer number, and div (10) = 4. Set a and b are two positive integers, a ≤ b, to find a and b between about a few number of the largest number of x. For a given two positive integers a ≤ b, Programming calculated a and b between about a few number of the largest number. Data entry input data from the document text file named input.txt provide. File line 1 has two positive integers a and b. The results run the end of the output, if found between a and b of about a few number o
- 2023-04-13 05:20:03下载
- 积分:1
-
利用 OTSU 阈值的图像分割
这是分割使用阈值的算法。阈值在这里我用 OTSU 阈值方法。欢迎大家下载、试用。谢谢大家的支持!
- 2022-03-23 15:51:24下载
- 积分:1
-
一种矩阵的头文件实现方法。该文件是独立的,…
header file implementing LU decomposition of a matrix. The file is independent, all the functions required are in the header file
- 2023-06-27 18:05:03下载
- 积分:1
-
粒子群优化算法
Um algoritmo de otimização por 考试 de particulas。Utilizando matlab,简单 e 缀 de entender。
- 2022-04-19 21:20:34下载
- 积分:1
-
himself in a fractal procedures and supports dynamic expression compiler
自己写的一个分形程序,支持动态编译表达式-himself in a fractal procedures and supports dynamic expression compiler
- 2022-02-15 13:27:01下载
- 积分:1
-
VC calculated arbitrary length 10
VC++ 计算任意长度10进制数位算子实用程序的源代码,很 实用-VC calculated arbitrary length 10-229 utility operator of the source code, very practical
- 2022-01-21 00:38:21下载
- 积分:1