-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add constraint/objective construction from NumPy arrays #1308
Labels
feature-request/enhancement
New feature or request
Comments
Like so?
|
Yes, something like that. Though the performance benefits of such a thing would come from implementing it at the Cython level, likely as a sibling method to cyConstrainedQuadraticModel.add_constraint_from_iterable() and cyConstrainedQuadraticModel.add_constraint_from_model(). |
Understood, I'll try to make a PR on this soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requested by @mhramani #1307 (review).
Something like
which would be interpreted as a linear constraint$x_0 + 2x_1 + 3x_5 = 5$ .
The text was updated successfully, but these errors were encountered: