Hi Jamie,
Yes, initializing a model with a ContinuousSet can be done using the same techniques as a discrete Set. You can specify an initialize rule for variables or set the values of variables manually after discretization. I’m working on some new tools for doing automatic model initialization using an ODE/DAE simulator or solving the discretized model forward in time. You can find prototypes of these tools on the dae-simulator and dae-element-initializer branches in the main github repo. Both of these tools should be merged into master in the next month or two.
I would also recommend that you get your dynamic model converging before trying to solve an optimization problem with it (i.e. discretize your model and solve a square problem). This can be useful for debugging the dynamic model itself and you can always save the solution and use it to initialize your optimization problem.
Bethany
--
You received this message because you are subscribed to the Google Groups "Pyomo Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
pyomo-forum...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.