Any advice on how to get the extensive form from a StructuredModel?

Iā€™m not aware of the functionality within StructJuMP. The best you could do would be to manually construct it yourself using the internal fields of StructuredModel.

However, if you use SDDP.jl ( instead of StructJuMP to formulate problems, then there is a SDDP.deterministic_equivalent which will return a JuMP model that is the extensive form. See

This is implemented here:

1 Like