1
当我写运行文件我的问题,我想用log_file
命令,所以以后我加载数据和模型,我写下面的选项命令:AMPL日志文件不起作用
- 选项
solver cplex
; - 选项
omit_zero_rows 0
; - 选项
presolve 1
; - 选项
show_stats 1
; - 选项
csvdisplay_header 0
; - 选项
log_file AMPL_log.txt
; 选项
cplex_options 'timelimit 900'
;solve
;
然而,当我上AMPL
运行它,则终端显示的信息
“在_cmdno 6执行错误 ”选项“ 命令不能打开 ”AMPL_Log.txt“”
我不知道我在这段代码中犯了什么错误。