MATPOWER / MATPOWER/matpower

Update to use mp.opt_model and mp.set_manager

Open
#269 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MATLAB
Stars
592
Forks
184
PR merge metrics
No merged PRs in 30d

Description

MP-Opt-Model now includes classes mp.opt_model and mp.set_manager to replace the functionality of the legacy opt_model and mp_idx_manager classes.

MATPOWER needs to be updated to convert to the use of these new classes in place of the legacy ones that have been deprecated.

See also MATPOWER/mp-opt-model#6.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by searching the MATPOWER codebase for uses of the legacy opt_model and mp_idx_manager classes. Compare those call sites with the replacement mp.opt_model and mp.set_manager classes, and consult MATPOWER/mp-opt-model#6 for compatibility details. Done means MATPOWER no longer depends on the deprecated classes and its MATLAB/Octave tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
matlab
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.