pwrs.mp_opt_model.glpk_options#

pwrs.mp_opt_model.glpk_options.glpk_options(overrides=None, mpopt=None)[source]#

Build a GLPK options dict.

Parameters:
  • overrides (dict, optional) – Values applied after the defaults and any mpopt["glpk"]["opts"] overrides.

  • mpopt (dict or str, optional) – MATPOWER options dict or a user option function name. User option functions are not implemented in the current Python port.

Returns:

Options dict for the GLPK backend.

Return type:

dict