mdolab / mdolab/pyoptsparse

Make scalar constraints and variables consistent

Open
#150 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Type of issue

What types of issue is it?
Select the appropriate type(s) that describe this issue

  • Bugfix (non-breaking change which fixes an issue)

Description

Update them so that a scalar value is just implemented using a numpy arary of size 1. This will unify the code and simplify many things.

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 tracing how scalar constraints and variables are represented and handled throughout the Python package, then identify the existing tests covering scalar values. Update the representation so scalar values use size-one NumPy arrays consistently, and verify that constraint and variable behavior remains correct across those tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
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.