⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Make LinearExpression multiplication with constant containing subset of dimensions consistent with Variable behaviour#571

Open
RobbieKiwi wants to merge 1 commit intoPyPSA:masterfrom
RobbieKiwi:feature/consistent-multiplication
Open

Make LinearExpression multiplication with constant containing subset of dimensions consistent with Variable behaviour#571
RobbieKiwi wants to merge 1 commit intoPyPSA:masterfrom
RobbieKiwi:feature/consistent-multiplication

Conversation

@RobbieKiwi
Copy link
Contributor

Closes #569

Changes proposed in this Pull Request

Now LinearExpression behaves the same way as Variable when multiplying with a constant containing a susbet of dimensions

Checklist

  • Code changes are sufficiently documented; i.e. new functions contain docstrings and further explanations may be given in doc.
  • Unit tests for new features were added (if applicable).
  • A note for the release notes doc/release_notes.rst of the upcoming release is included.
  • I consent to the release of this PR's code under the MIT license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent multiplication behavior: Variable vs LinearExpression with subset coordinates

1 participant