Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support np.array for modeling (fix #143) #144

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Conversation

sdementen
Copy link
Contributor

@sdementen sdementen commented Jan 28, 2022

fix #143 by

  • implement @ operator for np.array
  • check * is not used with np.array
  • add array_ufunc = None to allow CyLPExpr to take over np.array broadcasting (remove need for PyLPArray)

There is still the need to add tests for these new features

- implement @ operator for np.array
- check * is not used with np.array
- add __array_ufunc__ = None to allow CyLPExpr to take over np.array broadcasting (remove need for PyLPArray)
@CLAassistant
Copy link

CLAassistant commented Jan 28, 2022

CLA assistant check
All committers have signed the CLA.

@tkralphs tkralphs closed this Oct 23, 2023
@tkralphs tkralphs reopened this Oct 23, 2023
@tkralphs tkralphs merged commit 8473183 into coin-or:master Oct 26, 2023
8 checks passed
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.

support @ operator (__matmul__) for np.array (as alternative to using np.matrix / CyLPArray)
3 participants