解释 OPL 的解决方案文件

Interpreting OPL's solution files

我是 运行 来自命令行的 opl,我正在保存到目前为止找到的每个整数解决方案:

execute {     
  cplex.intsolfileprefix="sofar";
}

然而,结果写成XML。是否存在转换例程以便我可以访问变量的值?理想情况下,我想执行 "execute DISPLAY {...}" 代码,但这可能要求太多:-)

您是否尝试过 "Postprocess feasible solutions" 设置?

https://www.ibm.com/support/knowledgecenter/SSSA5P_12.8.0/ilog.odms.ide.help/OPL_Studio/usroplide/topics/opl_ide_script_cover_post.html