登录
首页 » c++ » 运筹学动态规划问题

运筹学动态规划问题

于 2022-05-12 发布 文件大小:370.14 kB
0 119
下载积分: 2 下载次数: 1

代码说明:

#include   #include   #include   using namespace std;   int x[4],s[4];   //x[k] 表示给第k个营业区增设的销售店 范围1-4  //s[k] 示给第k个营业区到3个营业区增设的销售店 int f[4][7],p[4][5]; //p[i][j] 给第i个营业区增加j个 //f[i][j] 给第i至第3个营业区增加j个  int max_value = 0; void caclF() { //计算出f[] for(int k=2;k>=1;k--){     f[k][s[k]] = p[k][x[k]]+f[k+1][s[k+1]];  } } void caclS() { //计算出s[] for(int i=2;i

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

发表评论

0 个回复

  • H.323
    H.323.rar 功能的说明H.323.rar 功能的说明
    2009-04-11 14:04:09下载
    积分:1
  • 第六次实验
    说明:  单片机接口8255控制输出,包括单片机电路仿真图、C程序设计代码(MCU interface 8255 control output)
    2020-11-21 15:09:35下载
    积分:1
  • stc_led
    说明:  STC8A8K64S4A12,LED等点亮程序,小灯循环亮灭(STC8A, LED and other lighting procedures)
    2019-03-20 07:57:52下载
    积分:1
  • 232
    实现运动目标的跟踪,首先用鼠标选取一个区域。之后能自动跟踪这个目标(Tracking of moving objects, first use the mouse to select a region. After automatic tracking of this objective)
    2012-05-29 22:25:21下载
    积分:1
  • LevelSet
    VC++实现的GAC水平集, 这样的程序很少见,大部分都是matlab编写的,虽然程序比较简单,但是很有借鉴和参考价值。 有曲线演化的过程(GAC level set VC++ implemented, such programs are rare, and most of them are prepared matlab, although the procedure is relatively simple, but very useful reference and the reference value. Curve evolution process)
    2012-09-02 22:27:02下载
    积分:1
  • 最小覆盖圆问题(c++代码)
    :输入N个点的坐标,求一个能覆盖全部点 的最小圆
    2020-05-24下载
    积分:1
  • AES-CMAC
    能够实现AES加密解密的功能,已经过测试可以使用(Enables AES encryption and decryption functions, have been tested can be used)
    2015-05-07 00:12:18下载
    积分:1
  • 基于CC2530的温湿度传感器SHT10的程序调试
    基于CC2530的温湿度传感器SHT10程序调试,本程序经过长期测试,稳定可靠。
    2022-02-10 13:53:11下载
    积分:1
  • power_xfosaturable
    功率电子领域matlab仿真文件,已经验证过,程序运行正常(Power electronics field matlab simulation file, has already been verified, the normal operating procedures)
    2013-08-26 22:24:13下载
    积分:1
  • OwnDrawButton
    简单的重绘了vc++中的按钮,实现鼠标在按钮上移动时,按钮的动态响应(a sample class for button of vc++)
    2010-08-18 10:40:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载