在 IloCplex 分支和剪切期间何时调用回调 MIPInfoCallback?

When is the callback MIPInfoCallback called during IloCplex branch & cut?

我在 C++ 中使用 IloCplex 库,我想知道在解析期间调用回调 MIPInfoCallback 的确切时间。在文档中,它只说“IloCplex 在分支切割搜索期间定期 调用用户编写的回调 ”。 是在每个节点调用吗?如果是,是在处理节点之前还是之后(即解决松弛和添加任何切割之前或之后)?

提前感谢您的回答

CPLEX > CPLEX 用户手册 > 高级编程技术 > 使用遗留优化回调 > 信息回调

我们可以阅读

什么是信息回调?

定义信息回调。

An informational callback is a user-written routine that enables your application to access information about the current mixed integer programming (MIP) optimization without sacrificing performance and without interfering in the search of the solution space. The algorithms call an informational callback when the algorithm finds it appropriate; for some algorithms, an informational callback is called at every node; for other algorithms, an informational callback is called at convenient points in the progress of the algorithm.