2018年阿里巴巴全球调度算法大赛项目 http://blog.yoqi.me/archives/13281
liuyuqi-dellpc f5489a12d0 增加数据下载链接 | 6 years ago | |
---|---|---|
R | 6 years ago | |
code | 6 years ago | |
conf | 6 years ago | |
docs | 6 years ago | |
java | 6 years ago | |
sas | 6 years ago | |
test | 6 years ago | |
twtech | 6 years ago | |
utils | 6 years ago | |
.gitignore | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
pom.xml | 6 years ago | |
requirements.txt | 6 years ago | |
setup.py | 6 years ago |
2018年阿里巴巴全球调度算法大赛项目
共约6K台宿主机(machine),包含了若干种型号,约68K个任务实例(instance),其中一部分已经部署在宿主机上,还有一部分没有被部署。
要求: 设计调度算法,在满足要求约束的前提下,通过将全部未被调度的任务实例调度到宿主机上以及腾挪部分已经部署的实例的方式,得到最优的部署方案。最优部署方案指实际使用宿主机数目尽可能少,且宿主机负荷不能过高。
数据下载:
链接: https://pan.baidu.com/s/1skenqelijl0enleuivylsg 密码: ydxs
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.2.0-Linux-x86_64.sh
yum install -y bzip2
yum install screen
vim .bashrc
export export PATH=/root/anaconda3/bin:$PATH
sh Anaconda3-5.2.0-Linux-x86_64.sh
#远程执行:
pip install -r requirementstxt
export PYTHONPATH=$PYTHONPATH:/root/ServerManager
ssh://liuyuqi@localhost:2201/home/liuyuqi/anaconda3/envs/py36/bin/python -u /home/liuyuqi/workspace/ServerManager/code/data_preview.py -dAgg
mvn package -Dmaven.test.skip=ture
java -cp AlibabaSchedulerEvaluator.jar com.aliyun.tianchi.mgr.evaluate.evaluate.file.evaluator.AlibabaSchedulerEvaluatorRun app_resources.csv machine_resources.csv instance_deploy.csv app_interference.csv result.csv