Warning displayed after running

โ”Œ Warning: The model has been modified since the last call to optimize! (or optimize! has not been called yet). If you are iteratively querying solution information and modifying a model, query all the results first, then modify the model.

Is this a question?

1 Like

Hi @Jimery, welcome to the forum :smile:

I hope this warning is somewhat self explanatory. See this part of the documentation for a deeper explanation: Solutions ยท JuMP

Let me know if you have follow-up questions.