set_solver_mipgap

(function from pyomo.contrib.mindtpy.util)

pyomo.contrib.mindtpy.util.set_solver_mipgap(opt, solver_name, config)[source]

Set mipgap for subsolvers.

Parameters:
  • opt (Solvers) – The solver object.

  • solver_name (String) – The name of solver.

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