Hi, I would advise next time you post a MWE (Minimal Working Example) that reproduces your error as it is suggested in the item 3 of this list of good practices when asking in this forum.
Only with the error message and this excerpt of code I would deduce that:
- None of
alpha
,w
,beta
, andbs
are JuMP variable containers. They all areNumber
Vector
s because the message complains about the left-hand side of the<=
being anInt
. -
H
seems to be aVector
ofUnitRange{Int64}
, in other words something like this:[1:10, 7:30, -10:10]
(a list of ranges).
Without a MWE we cannot know why your Vector
s that seems as they should be JuMP variable containers are just Number
containers, nor why H
seem to be a Vector
of ranges. Other confusing things are, for example: from where np
comes from? should np
be varying too or it is fixed?