Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

10/3/23 5:28 PM MATLAB Command Window 1 of 5

>> op=[2 1 3 5 4]';


>> ip=[2 1 3 5 4]';
>> op=[2 -3;3 -2;4 3;1 1;1.5 -4]
op =
2.0000 -3.0000
3.0000 -2.0000
4.0000 3.0000
1.0000 1.0000
1.5000 -4.0000
>> [x_all efficiency dea_value relative_efficiency aineq] = pdea_nvrs_op(ip,op)
f=
2
0
0
1
aineq =
-2.0000 2.0000 -3.0000 -1.0000
-1.0000 3.0000 -2.0000 -1.0000
-3.0000 4.0000 3.0000 -1.0000
-5.0000 1.0000 1.0000 -1.0000
-4.0000 1.5000 -4.0000 -1.0000
bineq =
0
0
0
0
0
aeq =
0 2 -3 0
beq =
1
lb =
0
0
0
0
Optimization terminated.
f=
1
0
0
1
aineq =
10/3/23 5:28 PM MATLAB Command Window 2 of 5

-2.0000 2.0000 -3.0000 -1.0000


-1.0000 3.0000 -2.0000 -1.0000
-3.0000 4.0000 3.0000 -1.0000
-5.0000 1.0000 1.0000 -1.0000
-4.0000 1.5000 -4.0000 -1.0000
bineq =
0
0
0
0
0
aeq =
0 3 -2 0
beq =
1
lb =
0
0
0
0
Optimization terminated.
f=
3
0
0
1
aineq =
-2.0000 2.0000 -3.0000 -1.0000
-1.0000 3.0000 -2.0000 -1.0000
-3.0000 4.0000 3.0000 -1.0000
-5.0000 1.0000 1.0000 -1.0000
-4.0000 1.5000 -4.0000 -1.0000
bineq =
0
0
0
0
0
aeq =
0 4 3 0
beq =
1
lb =
10/3/23 5:28 PM MATLAB Command Window 3 of 5

0
0
0
0
Optimization terminated.
f=
5
0
0
1
aineq =
-2.0000 2.0000 -3.0000 -1.0000
-1.0000 3.0000 -2.0000 -1.0000
-3.0000 4.0000 3.0000 -1.0000
-5.0000 1.0000 1.0000 -1.0000
-4.0000 1.5000 -4.0000 -1.0000
bineq =
0
0
0
0
0
aeq =
0 1 1 0
beq =
1
lb =
0
0
0
0
Optimization terminated.
f=
4
0
0
1
aineq =
-2.0000 2.0000 -3.0000 -1.0000
-1.0000 3.0000 -2.0000 -1.0000
-3.0000 4.0000 3.0000 -1.0000
-5.0000 1.0000 1.0000 -1.0000
-4.0000 1.5000 -4.0000 -1.0000
10/3/23 5:28 PM MATLAB Command Window 4 of 5

bineq =
0
0
0
0
0
aeq =
0 1.5000 -4.0000 0
beq =
1
lb =
0
0
0
0
Optimization terminated.
x_all =
0.2500 0.5831 0.1978 0.0000 0.0000
0.5000 0.3472 0.2059 0.0000 0.6667
0.0000 0.0208 0.0588 1.0000 0.0000
1.2500 0.4169 0.4067 3.0000 2.6667
efficiency =
1.7500
1.0000
1.0000
3.0000
2.6667
dea_value =
0.5714
1.0000
1.0000
0.3333
0.3750
relative_efficiency =
0.5833
0.3333
0.3333
1.0000
0.8889
aineq =
-2.0000 2.0000 -3.0000 -1.0000
-1.0000 3.0000 -2.0000 -1.0000
-3.0000 4.0000 3.0000 -1.0000
10/3/23 5:28 PM MATLAB Command Window 5 of 5

-5.0000 1.0000 1.0000 -1.0000


-4.0000 1.5000 -4.0000 -1.0000
>>

You might also like