We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
x = pd.Series(pl.LpVariable.dicts("x", range(5)), index=range(5)) # Series of LpVariable y = 2 * x # Series of LpAffineExpression a = np.arange(5)
>>> pl.lpDot(y, a) LpAffineExpression([(x_1, 2), (x_2, 4), (x_3, 6), (x_4, 8)])
>>> pl.lpDot(y, a) LpAffineExpression([(x_1, 1), (x_2, 2), (x_3, 3), (x_4, 4)])
The info below often helps, please fill it out if you're able to. :)
The text was updated successfully, but these errors were encountered:
fyi, as a workaround you can use y @ a instead of lpDot
y @ a
Sorry, something went wrong.
fix for coin-or#483
87d7422
Should be fixed by #769
fixed, thx!
No branches or pull requests
Details for the issue
What did you do?
What did you expect to see?
What did you see instead?
Useful extra information
The info below often helps, please fill it out if you're able to. :)
What operating system are you using?
I'm using python version:
I installed PuLP via:
Did you also
The text was updated successfully, but these errors were encountered: