运行报错求助:Mapped variables have to appear in the model
gams吧
全部回复
仅看楼主
level 1
Mapped variables have to appear in the model
*** The following MCP errors were detected in model CNDECGEM:
483 R no ref to var in equ.var
如上图。我运行代码时显示变量未显示在模型中。想问问会是什么原因导致的?应该如何修正?
2024年12月06日 15点12分 1
吧务
level 14
产量没有在模型中使用,导致模型匹配变量和方程出错。
2024年12月07日 00点12分 2
level 1
谢谢解答![玫瑰]。我还想问一下,我现在运行出来显示RHS、Bound和Matrix均出现零值,无法运行出结果。这种情况该怎么解决哇?[泪]我应该从哪里下手解决呢?
--- RHS [min, max] : [ 7.970E+01, 5.583E+06] - Zero values observed as well
--- Bound [min, max] : [ 4.462E-05, 2.860E+05] - Zero values observed as well
--- Matrix [min, max] : [ 4.824E-10, 5.415E+07] - Zero values observed as well
2024年12月13日 11点12分 3
查看输出文件详情提示进行检查
2025年01月21日 23点01分
1