ccr模型的matlab实现,有谁知道CCR对偶模型的lingo程序?

MODEL: ! Data Envelope Analysis of Decision Maker Efficiency ;

SETS:

DMU/1..6/: ! Six schools;

SCORE; ! Each decision making unit has a;! score to be computed;

FACTOR/COST RICH WRIT SCIN/;! There is a set of factors, input & output;

DXF( DMU, FACTOR):  F; ! F( I, J) = Jth factor of DMU I;

ENDSETS

DATA: ! Inputs are spending/pupil, % not low income;

! Outputs are Writing score and Science score;

NINPUTS = 2;  ! The first NINPUTS factors are inputs;

!      The inputs,    the outputs;

F= 89.39        64.31        25.2        223

86.25        99        28.2        287

108.13        99.6        29.4        317

106.38        96        26.4        291

62.4        96.2        27.2        295

47.19        79.9        25.2        222;

ENDDATA

!----------------------------------------------------------;

! The Model;

SETS:

! Weights used to compute DMU I's score;

DXFXD(DMU,FACTOR) : W;

ENDSETS

! Try to make everyone's score as high as possible;

MAX = @SUM( DMU: SCORE);

! The LP for each DMU to get its score;

@FOR( DMU( I):

SCORE( I) = @SUM( FACTOR(J)|J #GT# NINPUTS:

F(I, J)* W(I, J));

! Sum of inputs(denominator) = 1;

@SUM( FACTOR( J)| J #LE# NINPUTS:

F( I, J)* W( I, J)) = 1;

! Using DMU I's weights, no DMU can score better than 1;

@FOR( DMU( K):

@SUM( FACTOR( J)| J #GT# NINPUTS: F( K, J) * W( I, J))

<= @SUM( FACTOR( J)| J #LE# NINPUTS:

F( K, J) * W( I, J))

)

);

! The weights must be greater than zero;

@FOR( DXFXD( I, J): @BND( .00001, X, 100000));

END

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值