菜鸟问matlab解DEA问题
楼主 · 1 楼
用MATLAB解DEA
若C2R模型的代码如下:
X=[];Y=[];
n=size(X',1);m=size(X,1);s=size(Y,1);
epsilon=10^-10;
f=[zeros(1,n) -epsilon*ones(1,m+s) 1];
A=zeros(1,n+m+s+1);b=0;
LB=zeros(n+m+s+1,1);UB=[];
LB(n+m+s+1)=-Inf;
for i=1:n;
Aeq=[X eye(m) zeros(m,s) -X(:,i)
Y zeros(s,m) -eye(s) zeros(s,1)];
beq=[zeros(m,1)
Y(:,i)];
W(:,i)=linprog(f,A,b,Aeq,beq,LB,UB);
end
那么增加约束条件(
=1)
至C2GS2模型,代码应该怎么修改?
561592008 MCM
Problem A Results
Download THE complete MCM PROBLEM A results report in portable document format (pdf)
The FOUR Outstanding Winners of the continuous MCM (A) Problem are:
Duke University, NC — MAA Prize Recipient
The College of Idaho, ID — INFORMS Prize Recipient
University at Buffalo, NY — SIAM Prize Recipient & Ben Fusaro Award
University of Delaware, DE
2008 MCM
Problem B Results
DOWNLOAD THE COMPLETE MCM PROBLEM B RESULTS REPORT IN PORTABLE DOCUMENT FORMAT (PDF)
The FivE Outstanding Winners of the Discrete MCM (B) Problem are:
Harvard University, MA — SIAM Prize Recipient
Harvey Mudd College, CA — MAA Prize Recipient
Harvey Mudd College, CA
University Alaska Fairbanks, AK — INFORMS Prize Recipient
Youngstown State University, OH
University of Puget Sound, WA — Ben Fusaro Award (Meritorious Winner)
2008 ICM
Problem C Results
DOWNLOAD THE complete ICM results report in portable document format (pdf)
The THREE Outstanding Winners of the INTERDISCIPLINARY ICM © Problem are:
Harvey Mudd College, CA
Beijing University of Posts and Telecommunications, China
National University of Defense Technology, China — INFORMS Prize Recipient
其他成绩详见:http://www.comap.com/undergraduate/contests/mcm/contests/2008/results/
若C2R模型的代码如下:
X=[];Y=[];
n=size(X',1);m=size(X,1);s=size(Y,1);
epsilon=10^-10;
f=[zeros(1,n) -epsilon*ones(1,m+s) 1];
A=zeros(1,n+m+s+1);b=0;
LB=zeros(n+m+s+1,1);UB=[];
LB(n+m+s+1)=-Inf;
for i=1:n;
Aeq=[X eye(m) zeros(m,s) -X(:,i)
Y zeros(s,m) -eye(s) zeros(s,1)];
beq=[zeros(m,1)
Y(:,i)];
W(:,i)=linprog(f,A,b,Aeq,beq,LB,UB);
end
那么增加约束条件(
561592008 MCM
Problem A Results
Download THE complete MCM PROBLEM A results report in portable document format (pdf)
The FOUR Outstanding Winners of the continuous MCM (A) Problem are:
Duke University, NC — MAA Prize Recipient
The College of Idaho, ID — INFORMS Prize Recipient
University at Buffalo, NY — SIAM Prize Recipient & Ben Fusaro Award
University of Delaware, DE
2008 MCM
Problem B Results
DOWNLOAD THE COMPLETE MCM PROBLEM B RESULTS REPORT IN PORTABLE DOCUMENT FORMAT (PDF)
The FivE Outstanding Winners of the Discrete MCM (B) Problem are:
Harvard University, MA — SIAM Prize Recipient
Harvey Mudd College, CA — MAA Prize Recipient
Harvey Mudd College, CA
University Alaska Fairbanks, AK — INFORMS Prize Recipient
Youngstown State University, OH
University of Puget Sound, WA — Ben Fusaro Award (Meritorious Winner)
2008 ICM
Problem C Results
DOWNLOAD THE complete ICM results report in portable document format (pdf)
The THREE Outstanding Winners of the INTERDISCIPLINARY ICM © Problem are:
Harvey Mudd College, CA
Beijing University of Posts and Telecommunications, China
National University of Defense Technology, China — INFORMS Prize Recipient
其他成绩详见:http://www.comap.com/undergraduate/contests/mcm/contests/2008/results/