model.terminate()


model.terminate()

终止()

生成终止当前优化的请求。此方法通常从用户回调中调用(参见回调想要查询更多的信息)。当优化停止时,地位属性将等于grb_interrupted.

示例用法:

model.terminate()