保存模型后,如何访问生成的切割列表?
保存后,我想访问模型信息。具体来说,我希望看到在保存阶段添加到模型中的剪切列表。有没有办法访问此剪裁列表?
I would like to access the model information after presolving. Specifically, I would like to see the list of cuts that were added to the model during the presolving phase. Is there a way to access this list of cuts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果在保存过程中将切割添加到模型中,则将它们作为约束添加(因为在该阶段尚未创建LP)。请注意,这在保存中并不经常发生。
我建议简单地查看转换的问题,然后检查添加了哪些约束。
If cuts get added to the model during presolving, then they would be added as constraints (since the LP has not been created at that stage). Note that this does not happen very often in presolving.
I would suggest simply looking at the transformed problem and to check which constraints have been added.