add_affine_cuts

(function from pyomo.contrib.mindtpy.cut_generation)

pyomo.contrib.mindtpy.cut_generation.add_affine_cuts(target_model, config, timing)[source]

Adds affine cuts using MCPP.

Parameters:
  • config (ConfigBlock) – The specific configurations for MindtPy.

  • timing (Timing) – Timing.