Make scalar constraints and variables consistent
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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