I could use some help understanding what's going on here. Admittedly, I am not strong in OR, but I don't fully understand the format shown below. Is it possible somebody could format this in the type of notation that is more often found in literature?
decision variables: x(i): select score i (binary variable)
s(i): final score (continuous variable)
data: cs(i): current (old) score
c(i): cost
min cost = sum(i, c(i)x(i))
s(i) = cs(i)(1-x(i)) + var1x(i) (1)
sum(i, s(i)c(i)) >= var2*sum(i,c(i)) (2)
x(i) ∈ {0,1} (3)
For example, I don't quite know what to make of
sum(i, c(i)*x(i))
Is this [i + c(i)*x(i)] for each index? Or is this sum[c(i)*x(i)] for each index?