You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternative: allow for specifying the bounds. This would require some thought on how to handle cases in which other bounds than 0, 1 are specified in the DataFrame.
The text was updated successfully, but these errors were encountered:
What would you like to enhance and why? Is it related to an issue/problem?
The following code fails with the message
TypeError: only integer scalar arrays can be converted to a scalar index
.The problem seems to be that the bounds in the params DataFrame are not allowed (although they are also implemented by
ProbabilityConstraint
).Building
params
as follows works fine:Describe the solution you'd like
Catch exception and improve error message.
Alternative: allow for specifying the bounds. This would require some thought on how to handle cases in which other bounds than 0, 1 are specified in the DataFrame.
The text was updated successfully, but these errors were encountered: