Is there any way to delete a JuMP model after solving it? I have to call a function repeatedly to solve my problem but after the first call, I get the following error for every single variable in the model. Please let me know how can I solve this issue. Thanks in advance!
Warning: A variable or constraint named td is already attached to this model. If creating variables programmatically, use the anonymous variable syntax x = @variable(m, [1:N], ...).
All the best,