You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Reduced infinite variables cannot account for partially transcribed parameter tuple array elements. This leads to incorrect measure expansion.
To Reproduce
using InfiniteOpt, JuMP
m=InfiniteModel()
@infinite_parameter(m, x[1:2] in [0, 2])
@infinite_parameter(m, t in [0, 1])
@infinite_variable(m, y(t, x))
expand(integral(y, x[1], num_supports =2))
y(t, 0.02083778845386952) +y(t, 1.6710951524438982) # x dimensions are lost
Expected behavior
Reduced variables should be able to partially transcribe arrays of parameters and maintain structure.
Desktop (please complete the following information):
OS: Windows10
Package Versions : InfiniteOpt v0.1.0
Julia Version: 1.2
Additional context
This should be resolved by redoing how reduced variables are structured and made. Also, we should make a data object for better storing parameter tuples and propagate it through.
The text was updated successfully, but these errors were encountered:
Describe the bug
Reduced infinite variables cannot account for partially transcribed parameter tuple array elements. This leads to incorrect measure expansion.
To Reproduce
Expected behavior
Reduced variables should be able to partially transcribe arrays of parameters and maintain structure.
Desktop (please complete the following information):
Additional context
This should be resolved by redoing how reduced variables are structured and made. Also, we should make a data object for better storing parameter tuples and propagate it through.
The text was updated successfully, but these errors were encountered: