Solved by ptrblck in post #2 
              
              
                I personally don’t use this workflow, as I don’t think that an optimizer is necessarily bound to a model. 
Of course your use case might use a single model and optimizer and thus this workflow will certainly work for your use case, but it’s “cleaner” to me to use them as separate objects. 
One poten…