通过固定容差回退约束

(函数来自 pyomo.gdp.plugins.cuttingplane)

pyomo.gdp.plugins.cuttingplane.back_off_constraint_by_fixed_tolerance(cut, transBlock_rHull, bigm_to_hull_map, opt, stream_solver, TOL)[source]

通过绝对容差TOL使切割更加保守

Parameters:
  • cut (要使切割更加保守, 一个约束)

  • transBlock_rHull (松弛壳模型的转换块。被忽略) – 这个回调

  • bigm_to_hull_map (字典映射bigM变量的id) – 对应的变量在松弛的hull实例上。 此回调忽略。

  • opt (SolverFactory 对象。此回调忽略)

  • stream_solver (是否在求解时设置tee=True。被忽略) – 这个回调

  • TOL (添加一个绝对容差以使切割更加保守。)