pwrs.mp_opt_model.mp_idx_manager#
- class pwrs.mp_opt_model.mp_idx_manager.MPIdxManager(s=None)[source]#
Bases:
objectMATPOWER index-manager base class.
The index manager tracks named and indexed blocks for set types such as variables, constraints, and costs. It keeps the ordering and index ranges for each block as sets are added to the model object.
- Parameters:
s (MPIdxManager or dict, optional) – Existing manager or compatible struct-like dict used to initialize the object.