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

map_indices(, ::MOI.NLPBlockData) is wrong #849

Closed
mlubin opened this issue Aug 23, 2019 · 0 comments · Fixed by #850
Closed

map_indices(, ::MOI.NLPBlockData) is wrong #849

mlubin opened this issue Aug 23, 2019 · 0 comments · Fixed by #850

Comments

@mlubin
Copy link
Member

mlubin commented Aug 23, 2019

The issue in jump-dev/JuMP.jl#2037 is that the variable indices are permuted 2 <-> 1 between JuMP and Ipopt.jl. The starting points therefore get swapped. The NLPBlock is unaware of the permutation of indices. Wrapping the NLPBlock to permute all the indices in the evaluation callbacks would be wasteful work. IMO we should instead guarantee that default_copy_to maintains the original ordering of the variables.

This is a blocker for JuMP 0.20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant