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.
我想设置 30% 的差距限制。如何使用设置文件执行此操作?我尝试将 MIP 容差部分设置“相对 MIP 间隙容差”修改为 0,30,但在运行到引擎日志部分后,cplex 似乎没有设置此间隙。我能怎么做?谢谢你。
在 OPL 你会写
execute { cplex.epgap=0.3; }
如果您使用 .ops 文件(设置),请不要忘记将 .ops 文件添加到运行配置中。