Defining constraint using JuMP convert String to Expression and Merge Quart Expr and nonlinear Expr

Please take the time to read Please read: make it easier to help you. It’s easier to help if you format your code and include a minimal working example.

Your issue is likely that you have

sum(df[1,:Hold1]*x[h,i,j,k,l]) for h in 1:1

instead of

sum(df[1,:Hold1]*x[h,i,j,k,l] for h in 1:1

Note the second parenthesis ).