Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Reduced Infinite Variables #45

Closed
pulsipher opened this issue Mar 26, 2020 · 0 comments · Fixed by #48
Closed

[BUG] Reduced Infinite Variables #45

pulsipher opened this issue Mar 26, 2020 · 0 comments · Fixed by #48
Assignees
Labels
bug Something isn't working
Milestone

Comments

@pulsipher
Copy link
Collaborator

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.

@pulsipher pulsipher added the bug Something isn't working label Mar 26, 2020
@pulsipher pulsipher added this to the v0.1.1 milestone Mar 26, 2020
@pulsipher pulsipher self-assigned this Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant