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

运筹学动态规划问题

于 2022-05-12 发布 文件大小:370.14 kB
0 82
下载积分: 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 个回复

  • 21ic下载_光伏电池MATLAB仿真
    说明:  simulink的PV模块,经过测试,能够正确反映PV电池的电压电流、电压功率特性。(PV module of Simulink)
    2019-04-10 12:51:08下载
    积分:1
  • 通过VC++6.0和OpenGL为开发工具,实现了三维动画模拟 Animation
    通过VC++6.0和OpenGL为开发工具,实现了三维动画模拟,适时动画。(Through VC++ 6.0 and OpenGL for the development of tools to realize the three-dimensional animated simulation, animation timely.)
    2020-06-27 00:00:02下载
    积分:1
  • inductance
    详细介绍了电感这个元件的知识,并有实际图片,实际使用的所有图片(Inductor described in detail the components of knowledge, and have the actual picture, the actual use of all the pictures)
    2009-02-11 10:59:19下载
    积分:1
  • speedtest
    在dsp28上实现编码器的m/t法测速程序(Implementation on dsp28 encoder speed measuring procedure of m/t method )
    2013-06-05 12:58:25下载
    积分:1
  • STM32L011K4-Nucleo
    是超级低功耗STM32L011库软件,包含各种sample运用;已经在STM32L011G3芯片实现带有各种功能,包含串口 rtc/rtc唤醒 带中断低功耗休眠等...(Is a super low power STM32L011 library software, including a variety of sample applications, has been implemented in the STM32L011G3 chip with a variety of functions, including serial port rtc/rtc wake-up interrupt low power sleep and so on...)
    2021-02-02 14:49:59下载
    积分:1
  • UniButton_demo
    不规则按钮的制作。可以随心所欲的制作不规则的按钮CButton(The production of irregular button. Can produce arbitrary irregular button CButton)
    2009-02-24 16:37:30下载
    积分:1
  • jianyishuzi
    简易数字电压表 (no)
    2010-05-05 13:22:42下载
    积分:1
  • Particle-Filter
    基于粒子滤波的目标跟踪源码,需要opencv和gsl两个库的支持,运行效率较高(Particle filter based target tracking source, two gsl library opencv and need the support of high efficiency)
    2011-07-26 10:31:51下载
    积分:1
  • jzk0617
    非常好用的LDPC代码,利用了比特交织编码技术。(Articles and code is very nice, I diligently study was done.)
    2014-09-01 10:58:59下载
    积分:1
  • chanshushouce
    说明:  windows下编写C程序时非常好用的c函数查找手册~(procedures for the preparation of C under the windows are very useful function to find the manual c ~)
    2008-11-22 20:04:09下载
    积分:1
  • 696518资源总数
  • 105562会员总数
  • 1今日下载