循环中的优化:使用SimuLTE实现和测试调度算法
Optimization in the Loop: Implementing and Testing Scheduling Algorithms with SimuLTE
摘要:
离散事件模拟器(如OMNeT++)的主要目的之一是在现实环境中测试新算法或协议。这些通常需要根据通过运行商业优化求解器获得的最佳/理论结果进行基准测试。通常的方法是让模拟器在独立模式下运行并生成(很少的)快照,然后将其提供给优化求解器。这允许人们比较快照中的最优和次优解决方案,但不允许评估如果每次都强制执行最优解决方案,所研究的系统将如何随时间演变。这需要优化软件直接在仿真循环中运行,与后者交换信息。本教程的目标是展示如何将商业求解器(CPLEX)集成到OMNeT++环境的仿真循环中。为此,我们提出了两种方法:第一种方法使用求解器作为外部程序,第二种方法利用C编写的CPLEX API称为Callable Library。然后,我们讨论了如何将这两种方法应用到SimuLTE,LTE蜂窝网络的仿真模型,实现和测试一个简单的解决方案,一个众所周知的资源调度问题。
英文摘要:
One of the main purposes of discrete event simulators such as OMNeT++ is to test new algorithms or protocols in realistic environments. These often need to be benchmarked against optimal/theoretical results obtained by running commercial optimization solvers. The usual way to do this is to have the simulator run in a standalone mode and generate (few) snapshots, which are then fed to the optimization solvers. This allows one to compare the optimal and suboptimal solutions in the snapshots, but does not allow to assess how the system being studied would evolve over time if the optimal solution was enforced every time. This requires optimization software to run directly in the loop of the simulation, exchanging information with the latter. The goal of this tutorial is to show how to integrate a commercial solver (CPLEX) into the simulation loop of the OMNeT++ environment. For this purpose, we propose two methods: a first one that uses a solver as an external program, and a second one that exploits a C-written API for CPLEX known as Callable Library. We then exemplify how to apply these two methods to SimuLTE, a simulation model for LTE cellular networks, implementing and testing a simple solution to a well-known resource-scheduling problem.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。