Cannot assign a value to variable workspace

I am using Ipopt optimizer in a problem, I have created a variable name inside the model in an array form, for instance, (k,p[1:2]), after running the specific cell, it is giving me the error, that cannot assign a value to variable workspace142.p from module workspace159,

Could anybody suggest to me, how to get rid of this problem? Thanking you in advance!

JuMP doesn’t work in pluto because pluto doesn’t understand macros or mutation of structs.

Edit: here are the relevant issues: Macros and DSLs · Issue #196 · fonsp/Pluto.jl · GitHub, Mutations do not rerun cells · Issue #564 · fonsp/Pluto.jl · GitHub