Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么 GAMS 将结果存储在带有 .put 扩展名的文件中,尽管我在工作目录中创建了新项目并指定了file mse /D:\RS Results\mse_goal(0.5).txt/; put mse;?
file mse /D:\RS Results\mse_goal(0.5).txt/; put mse;
这应该有效:
parameter x /1/; file mse /D:\mse_goal(0.5).txt/; put mse; put 'The value of x ='x
请注意,GAMS 可能不喜欢文件路径名中的空格(“D:\RS 结果”)