# Issue with ModelingToolkit in Pluto

**URL:** <https://discourse.julialang.org/t/issue-with-modelingtoolkit-in-pluto/60517>\
**Category:** Pluto\
**Created:** [May 4, 2021, 1:05pm UTC](https://discourse.julialang.org/t/issue-with-modelingtoolkit-in-pluto/60517 "2021-05-04T13:05:00Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [August 18, 2021, 9:00pm UTC](https://discourse.julialang.org/t/issue-with-modelingtoolkit-in-pluto/60517/13 "2021-08-18T21:00:24Z")

</div>

> I have been migrating a significant amount of notebooks into Pluto, and they have to be ready in early September.

I would not recommend this. JuMP’s workflow does not integrate well with Pluto. Even if the macro thing gets sorted (it may already be?), the mutation issue remains.

Previous discussions:

> [@JuMP and Pluto.jl?](https://discourse.julialang.org/t/jump-and-pluto-jl/49210):
>
> Hi, Has anyone tried using JuMP inside a Pluto.jl notebook? Are there any tricks one needs to be aware of? I have a simple notebook with two cells: “”" using JuMP, GLPK “”" and “”" begin M = Model(GLPK.Optimizer) @variable(M, test) end “”" The first time I run the second cell, it works, but subsequently, I get an error: “cannot assign a value to variable workspace767.test from module workspace768” (Note that the numbers are different, and that the 767 stays the same, whereas the …

> [@Cannot assign a value to variable workspace](https://discourse.julialang.org/t/cannot-assign-a-value-to-variable-workspace/56613/2):
>
> JuMP doesn’t work in pluto because pluto doesn’t understand macros or mutation of structs. Edit: here are the relevant issues: [https://github.com/fonsp/Pluto.jl/issues/196](https://github.com/fonsp/Pluto.jl/issues/196), [https://github.com/fonsp/Pluto.jl/issues/564](https://github.com/fonsp/Pluto.jl/issues/564)

---

_[View the full topic](https://discourse.julialang.org/t/issue-with-modelingtoolkit-in-pluto/60517)._
