OSM: Preference-Aware Task Assignment in On-Demand Taxi Dispatching: An Online Stable Matching Approach
========================================================================
This repository stores the source code of the solutions to the problem called OSM-KIID in the following paper. If you use our source code or dataset, please consider citing our paper.
[1] Preference-Aware Task Assignment in On-Demand Taxi Dispatching: An Online Stable Matching Approach. Boming Zhao, Pan Xu, Yexuan Shi, Yongxin Tong, Zimu Zhou, Yuxiang Zeng. AAAI 2019: 2245-2252. link
If you find our work helpful in your research, please consider citing our papers and the bibtex are listed below:
@inproceedings{DBLP:conf/aaai/ZhaoXSTZZ19,
author = {Boming Zhao and
Pan Xu and
Yexuan Shi and
Yongxin Tong and
Zimu Zhou and
Yuxiang Zeng},
title = {Preference-Aware Task Assignment in On-Demand Taxi Dispatching: An Online Stable Matching Approach},
booktitle = {{AAAI}},
pages = {2245--2252},
year = {2019},
}
Google OR tools: v6.7 url
gcc/g++ version: 7.4.0
OS: Ubuntu
To use our method proposed in AAAI'19, you should first execute "stable_lp.cpp" to get a feasible LP solution. Then execute "AAAI.cpp" to obtain the final result.
To complie the "stable_lp.cpp", you need first install the or_tools for C++ link.
After compile "stable_lp.cpp" and get the executable program "stable_lp", you can run this command in terminal: "./stable_lp test.lp test.sol"
Finally, you can compile and execute "AAAI.cpp" as follows: "./AAAI19 test.sim test.lp test.sol" where "test.lp" and "test.sol" is the same file in the previous step.
Here are the formats of these three files:
It is the raw test data.
The first line contains three integers
Next
Next
Next
It is the input data of linear programming solver.
The first line contains six integers
Next
Next
Next
It is the solution of linear programming, each line contains a float.
First
Next
The last
The meaning of
For the taxi-calling orders in Chengdu city, please request for the open dataset in the website of GAIA. We do not have the permit to distribute the dataset.
We have maintained a paper list of the studies on spatial crowdsourcing. link
- Yexuan Shi: [email protected]
- Yongxin Tong: [email protected]
- Yuxiang Zeng: [email protected]