首页 > 其他分享 >Huawei Sweden Hackthon 2022 (华为瑞典2022黑客马拉松)参赛心得体验

Huawei Sweden Hackthon 2022 (华为瑞典2022黑客马拉松)参赛心得体验

时间:2022-12-14 23:11:14浏览次数:47  
标签:Hackthon users speed sum Huawei ij user 2022 data

有幸在斯德哥尔摩的T-Centralen的World Trade Center参加了Huawei Sweden Hackthon 2022,即使是作为一支入围水队也收获了宝贵的经验。

比赛体验是相当不错,有自助晚餐、早餐和午餐披萨供应,以及自主的茶水、水果等;不过由于时间非常长(1个晚上+1个上午),同时如果无法有效优化、求解的话则毫无进展,所以过程依然相当煎熬。

题目描述

Background Description

  • Many users connected to a base station need to send and receive data in real-time.
  • As we have limited bandwidth, efficient allocation of data channel resources to the users has a significant impact on the quality of experience of the users.
  • Here, we focus on the simplified version of the downlink data channel allocation problem as a key building block of mobile networks.
  • 5G massive MIMO resources can be divided into M*N grids where in each grid only a single user can be placed.
  • We can have multiple instances of each user based on the size of its data. A user with bigger size of data potentially needs more instances (more grids) to send its data. For example, in the following figure, we have 5 instances of user U1, 3 instances of U2 and 2 instances of U3.
  • We cannot place more than one instance of the same user in the same column, for example, two U1s cannot be placed in the same column. But we can have multiple instances of the same user in the same row.

\(M\): Number of rows

\(N\): Number of Columns

\(U\): Set of users, {U1, U2, …}

\(|U|\): Number of users

Problem statement

Each user is denoted by a tuple including: {initial speed, data size, factor}
Initial speed: the speed of sending the user’s data when there is no conflict with other users
Data size: the total amount of data that the user wants to send.
Factor: the factor by which the data speed of the user reduces as a result of collocating with other users in the same column.

For example, we can have three users as follows:
U1={20, 5000,0.3}, This means that user U1 wants to send 5000 bytes data and if there is no conflict with other users the data will be sent by speed 20.
U2={15,3500,0.25},
U3={26,4200,0.6}
The number of instances of each user depends on both the size of its data and the speed. When a user’s data cannot be sent entirely in a single grid, it needs multiple grids.

Users placed in the same column negatively affect each other in terms of data speed, while users on the same row have no effect on each other.

The speed of each user in case of not collocating with other users is equal to its initial speed, however, in case of collocating with other users in the same column, it is reduced to

\[Speed_i=initial\_{Speed}_i \times \left( 1- collocated\_{factor}_i \right) \]

Where:

\[ collocated\_{factor}_i = factor_i \times \sum_{\forall j\neq i} factor_j \]

which Users \(j\) are assianed to the same column.

Note 1: The speed cannot be zero. Thus, if \(Speed_i\) leads to a negative value (i.e., the collocated factor gets bigger than 1), consider the speed equal to zero.
For a single column and three users, we can have four different scenarios where the users speeds are calculated as follows:

Mapping speed to data transmission rate

There is a corresponding relationship between the speed and the amount of data that a user can send, shown by the speed to data map table. Here is an example of such a table.

For example, when the speed of a user is 8, 2158 bytes data can be sent.
Notes: To map the speed to data, use the given F function than rounds the speed considering the floating point error. For example, if the speed U1 collocated with U2 is 10.65, its data is 2696.
Note 2: the F function is not exactly the same as the know round function because it may roundup a number which is extremly close to the next integer number to avoid the effect of floating point error, for example if the speed is 12.999999, F functions returns 13 rather than 12.
For the example in the previous slide, the data sent by each user, in each scenario is calculated as follows:
U1={20, 5000,0.3}, U2={15,3500,0.25}, U3={26,4200,0.6}

Objective and Constraints

Objective: Maximise the sum of average speed of all users (\(Avg\_Speed_i\)), formulated as

\[ Objective\_function= \frac{\sum_{\forall Users} Avg\_Speed_i}{BestSpeedUsers} \]

Where \(BestSpeedUsers\) is sum of maximum speed of all users and can be calculated by \(\sum_{\forall Users} Init\_{Speed}_i\)
Indeed objective function is a float number between 0 and 1
Constraint: More than one instance of the same user cannot be placed in the same column.

Penalty term: As we would like to send all the data, we apply a penalty term that shows which portion of total data of all users cannot be sent (

标签:Hackthon,users,speed,sum,Huawei,ij,user,2022,data
From: https://www.cnblogs.com/jjmg/p/HuaweiSwedenHackathon2022.html

相关文章

  • #yyds干货盘点#【愚公系列】2022年12月 微信小程序-图片加载和全屏适配问题
    前言在使用图片问题中可能会遇到各种各样的问题,比如图片加载不出来,图片显示在不同机型效果不同,图片加载展示问题等等。微信小程序image相关属性如下:属性类型默认值......
  • ZJOI2022 深搜
    链接:https://www.luogu.com.cn/problem/P8334题解:最小值期望显然可以转化为\(>=x\)的概率求和,所以我们可以考虑一个暴力,每次将\(>=x\)的点加入称为黑点,然后进行\(dp\)。那......
  • 2021-2022年游记
    \(NOI2022\)结束了,最后因为差\(34pts\)导致\(Ag\)了,下面是对初三一年的总结。\(CSP-S\)\(2021\)开场\(2.5h\)写完了前三题,想了很久\(t4\),但感觉只能网络流,但不......
  • 20221214每日学习
    leetcode题目:130被围绕的区域思路:1.遍历所有边界。2.如果遇到o,就开始bfs像外边延展,可以将这时候的o设置为e,然后再遍历所有的内部点,将e修改为o,将原生的o修改为x。题解:......
  • 2022 ICPC 杭州(待补)
    A.ModuloRuinstheLegend题解中说明:其实d只用取0或者1因为相当于对每个位置加上一个平均数也就只加了ns但是可能这个平均数可能为分数所以d取1和0即可代表所有情况......
  • 2022-2023-1 20221404《Linux内核原理与分析》缓冲区溢出实验-实验报告
    缓冲区溢出漏洞实验相关实验图片,所经历错误见结尾,建议先看结尾注意问题希望有所帮助一、实验简介缓冲区溢出是指程序试图向缓冲区写入超出预分配固定长度数据的情况。......
  • 网络编程1.4-端口-2022-12-14
     端口表示计算机一个程序的进程。  -不同的进程有不同的端口,端口号不能重复,用来区分软件 -被规定0-65535  -TCPUDP各为65535,两个类端口号可以相同端口......
  • 2022 ICPC 杭州站 K - Master of Both // Trie
    K-MasterofBoth题目来源:The2022ICPCAsiaHangzhouRegionalProgrammingContestK题目链接:https://codeforces.com/gym/104090/problem/K题意给定\(n\)个仅......
  • 神策《2022 营销自动化应用基准报告》正式发布
     以人为本的时代为营销人员带来了新的机会:与客户建立更紧密的连接,更多地基于品牌与客户的双向参与,以创造更好的产品和体验,而不仅仅是基于大众传播渠道的推广策略传递品牌信......
  • 网络编程-2022-12-14
    一、网络编程基础TCPUDP编程    TCP英文叫TransmissionControlProtocol,中文叫传输控制协议,它其实就是一种网络传输协议。1、计算机网络:多台计算机地理位置不......