GAMS Rev 228 x86/MS Windows 03/07/16 13:46:59 Page 6
G e n e r a l A l g e b r a i c M o d e l i n g S y s t e m
Model Statistics SOLVE cge Using MCP From line 549
MODEL STATISTICS
BLOCKS OF EQUATIONS 59 SINGLE EQUATIONS 1,612
BLOCKS OF VARIABLES 63 SINGLE VARIABLES 1,694
NON ZERO ELEMENTS 6,700 NON LINEAR N-Z 2,692
DERIVATIVE POOL 114 CONSTANT POOL 1,034
CODE LENGTH 21,723
运行之后的错误 提示,后来找到错误是这样:
**** Counts do not match
Single equations in unmatched =E= blocks 1612
Unmatched single free variables 1693
变量:QA(data27)
QA(data28)
QA(data29)
QA(data30)
QA(data31)
QA(data32)
QA(data33)
后面很多省略
我的方程:eqND(a)..ND(a)=e=deltaND(a)**(1/(1-parQA(a)))*(PA(a)/PND(a))**(1/(1-parQA(a)))*QA(a);
eqKEL(a)..KEL(a)=e=deltaKEL(a)** (1/(1-parQA(a)))*(PA(a)/PKEL(a))**(1/(1-parQA(a)))*QA(a);
eqPA(a)..QA(a)=e=(deltaKEL(a)*KEL(a)**parQA(a)+deltaND(a)*ND(a)**parQA(a))**(1/parQA(a));
eqUND(c,a)..UND(c,a)=e=ica(c,a)*ND(a);
eqPND(a)..PND(a)=e=sum(c,ica(c,a)*PQ(c));
eqKE(a)..KE(a)=e=deltaKE(a)**(1/(1-parVA(a)))*TFP(a)**(parVA(a)/(1-parVA(a)))*(PKEL(a)/PKE(a))** (1/(1-parVA(a)))*KEL(a);
eqQLD(a)..QLD(a)=e=deltaL(a)**(1/(1-parVA(a)))*TFP(a)**(parVA(a)/(1-parVA(a)))*(PKEL(a)/WL)**(1/(1-parVA(a)))*KEL(a);
eqPKEL(a)..KEL(a)=e=TFP(a)*(deltaKE(a)*KE(a)**parVA(a)+deltaL(a)*QLD(a)**parVA(a))**(1/parVA(a));因为方程较多,就贴出了一部分。
这个错误怎么修改,因为接触CGE时间不长,也的确是不会。希望大神们可以给点指导。小女子感激不尽