- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
浅析计算机网络的最小接通时间
姓名
学校 计算机相关专业 班级
年 月 日
摘要:
一个计算机网络系统中的每个计算机之间相互进行数据传送,但传送速度和能同时进行的任务有一定的限制。本文试图通过优化使得总共所需要的传送时间最短。本文秉弃了通常图论的算法,试图将问题转化为线性规划的形式加以解决,并在此情况下得到了很好的解决。对于情形A,我们首先给出另外通常图论的解决本问题的算法,接着改用线性规划,通过0-1变量和目标函数z应大于等于所有运行时间,用lingo程序结局,得到的最短时间为3秒,并给出最佳方案。对于情形B仍按照这个思想,通过对A进行扩展和约束条件的改变,得到最短传输时间为23秒,并给出最佳方案。
关键字: 线性规划 边染色 lingo程序
Abstract
Each computer carries on the data transmission mutually in a computer network system,but the transfer rata and information which can carry on at the same time have the certain limit. The paper attempts to reduce the transmission time to need to be shortest through the optimization this article try to abandon the usual graph theory algorithm and try to transform the question for the linear programming form, perform to solve, then the situation may be solved very well. We first have produced the usual graph theory to solve this question, then we change to the linear programming by setting 0-1variable and objective function Z which is equal or bigger than all running time, with lingo procedure result, obtaining the shortest time is 3 seconds , and produces the better plan. Still it deferred to this though regarding situation B,we obtain the shortest transmission time is 23 seconds through carrying on the expansion and the changing constraint condition to situation A and produces the better plan.
Keywords: linear programming coloring theory lingo procedure
一.问题的提出
在你们公司里,各部门都要分享信息。这种信息包括前一天的销售统计和当前的生产指南。尽快公布这些信息是十分重要的。
假设一个通讯网络被用来从一台计算机向另一台计算机传输数据组(文件)。作为例子,考虑图1.1的模型。
图1 文件传输网络的例子
顶点V1, V2,…,V n表示计算机,边e1, e2,…, en,表示(由边的端点表示计算机之间)要传输的文件. T(ex)表示传输文件ex所需要的时间, C(Vy)表示计算机Vy同时能传输多少个文件的容量.文件传输包括占用有关计算机为传输该文件所需的全部时间. C(Vy)=1表示计算机Vy一次只能传输一个文件.
我们有兴趣的是以最优方式安排传输,即使得传输完成所有的文件所用的总时间最小.这个最小时间称为接通时间.请为你们公司考虑以下两种情形:
情形A:你们公司有28个部门,每个部门有一台计算机,在图1.2中每台计算机用顶点表示.对于这个网络,对所有的x,y,有T(ex)=1, C(Vy)=1.试找出该网络的最优安排以及接痛时间.叙述你
文档评论(0)