登录
首页 » Visual C++ » Optimal-solution-back-to-France-0-1

Optimal-solution-back-to-France-0-1

于 2012-04-11 发布 文件大小:602KB
0 208
下载积分: 1 下载次数: 3

代码说明:

  最优解回溯法0-1问题,为了构造最优解,必须在算法中记录与当前最优值相应的当前最优解。(The optimal solution backtracking 0-1 must be recorded in the algorithm, in order to construct the optimal solution, corresponding to the current optimal value, the current optimal solution.)

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

发表评论

0 个回复

  • Hanio
    关于汉诺塔的代码,中间是用迭代的方法实现的(About Hanio Tower)
    2012-06-28 22:59:26下载
    积分:1
  • szpGauss
    用C++实现的高斯混合模型的算法类,方差矩阵是对角矩阵(C++ Gaussian mixture model algorithm category, variance matrix is diagonal matrix)
    2005-08-09 16:32:03下载
    积分:1
  • Euler_DG_Quadrilateral_2D
    自己写了一个二维Euler方程的间断有限元程序 上次发了一个三角形单元的程序 因为不是曲边单元 所以在圆柱后面容易形成涡 现在把程序改为曲边四边形单元了 没有涡出现 单元是8节点四边形单元 节点编号顺序是 1 5 2 6 3 7 4 8 也就是四个角点依次 是1 2 3 4 然后是边的中点编号 5 6 7 8. 时间推进采用 Runge-Kutta 方法 数值通量采用全局Lax-Friedrichs通量 仍然不能捕捉激波 因为没有做重构或者加人工粘性 等这个做出来了 再发一次。 程序没有进行优化 比如说内存的消耗没有优化 比如直边单元的边界积分仍然采 用了曲边的积分方法 增加了计算量 比如面积分、线积分都是采用的是Gauss- Legendre-Lobatto积分 积分精度会比一般的Gauss-Legendre积分精度低一阶 等 等问题。 二维的 纯属交流性质 就没有考虑这些问题 ^_^ 如果物面全部是直边 那么只要改变一个参数N 就可以获得不同的计算精度 且具 有谱精度 因为单元的节点是Gauss-Legendre-Lobatto积分点。 其实就是谱元法 (物面是曲边的情况我不清楚是不是也可以通过提高基函数的阶数 也就是增加N 来提高计算精度)(Wrote a two-dimensional Euler equations with discontinuous finite element program Last made ​ ​ a triangular element of the program, not curved edge unit is so easy to form a vortex in the cylinder behind the Program to curved edge quadrilateral element vortices appear Unit is the order of 8-node quadrilateral element node number is 15,263,748 which is the four corners of the points in turn Is 1234 and then the side of the midpoint of the number 5678. Time promote the use of Runge-Kutta method Numerical flux of the overall situation of Lax-Friedrichs, flux Still can not capture the shock wave did not do the reconstruction or artificial viscosity do it Zaifayici. The program is not optimized for example, memory consumption is not optimized such as straight-edge boundary integral of the unit is still mining Integral method to increase the amount of computation such as surface integral with a curved edge, the line integral using the Gauss- The Legendr)
    2021-01-29 12:58:40下载
    积分:1
  • theSecond
    这个程序分别用二分法,Newton法,弦截法,Newton下山法等算法求解非线性方程(this procedure were used dichotomy, Newton, String interception, Newton downhill law for solving nonlinear equations)
    2006-10-18 11:01:49下载
    积分:1
  • QuartercarJJJ
    通过具有随机结构参数的四分之一车辆模型研究了具有不确定性结构参数的车辆在受到来自道路的随 机激励作用下的振动响应问题。将簧上质量、簧下质量、悬挂阻尼、悬挂刚度以及轮胎刚度均认为是随机变量。将路面的不平整引起的对车辆的激励看作高斯随机过程并通过简单指数功率谱密度来建立力学模型。(By a quarter vehicle model with random parameters studied vehicle structure uncertain structural parameters of the vibration by the random excitation the road response under question. The sprung mass, unsprung mass, suspension damping, suspension stiffness and rigidity of the tire are considered to be random variables. The excitation caused by uneven road vehicle regarded as Gaussian random process and to create a mechanical model of a simple exponential power spectral density.)
    2020-11-02 10:09:53下载
    积分:1
  • zuiyouhuasuanfa
    包括牛顿法,阻尼牛顿法,变尺度算法,最速下降法的优化算法程序。(Newton' s method, damped Newton method, variable metric algorithm, the steepest descent method optimization algorithm.)
    2013-03-24 15:51:53下载
    积分:1
  • duoxiangshi
    计算方法程序:多项式拟合(Calculation procedure: Polynomial Fitting)
    2008-05-01 14:42:31下载
    积分:1
  • shuzhifenxi
    数值计算各算法的程序,包括:牛顿迭代法,超松驰迭代法,微分法等.对于初学数值分析这门课程的人有很大的帮助.(Numerical calculation procedure of the algorithm, including: Newton iteration, ultra-relaxation iteration method, differential method and so on. Beginner numerical analysis for this course were very helpful.)
    2008-01-24 14:50:44下载
    积分:1
  • UDF
    一些简单的UDF文件,实现流场中梯度和某一点压力的检测提取(Some UDF profiles)
    2015-06-13 07:28:49下载
    积分:1
  • Algorithm
    说明:  算法设计第三版,算法设计第三版,算法设计第三版,算法设计第三版(Algorithm Design Third Edition)
    2010-04-28 19:44:45下载
    积分:1
  • 696518资源总数
  • 104347会员总数
  • 12今日下载