InfiniteOpt.jl icon indicating copy to clipboard operation
InfiniteOpt.jl copied to clipboard

Measures inside derivatives are not expanded

Open pulsipher opened this issue 2 years ago • 0 comments

When measures are expanded within an InfiniteModel via expand_all_measures!, any measure inside a derivative is skipped.

model = InfiniteModel()
@infinite_parameter(m, t in [0, 1])
@infinite_parameter(m, x in [0, 1])
@variable(m, y, Infinite(t, x))
@constraint(m, ∂(∫(y, t), x) == 0)
expand_all_measures!(m)

Hence, nothing happens with the above.

pulsipher avatar Oct 05 '23 16:10 pulsipher