mdolab / mdolab/pyoptsparse

Provide decorators for skipping code if an optimizer is not available

Open
#224 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
270
Forks
123
Avg merge
1d 18h
Merged PRs (30d)
3

Description

Description

Dymos recently added a decorator in openmdao/dymos#570, which may be something we want to implement in pyOptSparse natively also. This could be useful for:

  • skipTest in pyOptSparse tests
  • test scripts in other repos (e.g. MACH-Aero, pygeo)

May be related to #187.

Contributor guide

No contributing guide indexed for this repository

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 reviewing the decorator added in openmdao/dymos#570 and the related discussion in #187. Compare its intended use with pyOptSparse tests and test scripts in MACH-Aero and pygeo. Done should include an agreed native decorator design and documented behavior for skipping when an optimizer is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.