可以将其推广至载人摩托车,人力车等资源配置问题,并加以改进,具有很强的现实意义。七、参考文献[1]?王罗.出租车合乘问题研究:[长沙理工大学硕士论文].长沙:长沙理工大学,2008,42-47.[2]?谢金星,薛毅.优化建模与L1ND0/LING0软件.北京:清华大学出版社。2005,301-304.[3]?吴芳,李志成,徐琛.出租车合乘制度调度优化模型研究.兰州交通大学学报,2009,1(28):104.106.[4]?王丽珍.大城市出租车静态和动态合乘模式的探讨:[长沙理工大学硕士论文].长沙:长沙理工大学,2012,20(5).八、附录计算模式A合乘分布MATLAB程序a=zeros(1,1001);b=zeros(1,1001);fori=l:1001forj=i:1001ifabs(pickupx(i)-pickupx(j))+abs(pickupy(i)-pickupy(j))>0&abs(pickupx(i)一pickupx(j))+abs(pickupy(i)-pickupy(j))<=0.l&abs(dropoffx(i)-dropoffx(j))*abs(dropoffy(i)一dropoffy(j))<=l&abs(dropoffx(i)-dropoffx(j))s(dropoffy(i)一dropoffy(j))>0a(j)=i;b(j)=j;endendend岀租车距离MATLAB程序c=zeros(1,1001);fori=l:667forj=l:1001ifmin(abs(nowx(i)一pickupx(j))十abs(nowy(i)一pickupy(j)))<0.2;c(j)=i;endendend乘客上、下车分布散点图MATLAB程序plot(pickupx,pickupy,▼o▼,dropoffx,dropoffy,▼*▼};gridon