there is some problem in the example because errors arise due to type mismatch.
Workarounds are possible, but I guess that this issue may be generalized.
I attach the output on my platform (Julia 1.6.1, JuMP 0.21.8)
The issue is related to the fact that StructuredModel is a AbstractModel, whereas the _init_NLP requires a JuMP.Model.
Similar issues arise with NPobjective and so on.
May StructuredModel dispatch over the same functions (basically with copy and paste from JuMP), or should we refer this issue to JuMP?
Maybe JuMP developers explicitly opted for the above to avoid unexpected behaviour of the software, or this is unintended.
Dear Developers;
there is some problem in the example because errors arise due to type mismatch. Workarounds are possible, but I guess that this issue may be generalized. I attach the output on my platform (Julia 1.6.1, JuMP 0.21.8)
The issue is related to the fact that StructuredModel is a AbstractModel, whereas the _init_NLP requires a JuMP.Model. Similar issues arise with NPobjective and so on. May StructuredModel dispatch over the same functions (basically with copy and paste from JuMP), or should we refer this issue to JuMP? Maybe JuMP developers explicitly opted for the above to avoid unexpected behaviour of the software, or this is unintended.
Regards, Davide