Open EveCharbie opened 1 year ago
This problem seems to happen when there is a target in minimize_state/minimize_control and index is specified. I think define_target_mapping (currently l.891 from penalty option) could be upgraded to consider this mapping.
Hello! I also have the same problem. It should be great to have it working! :) And yes, I am using minimize_state/minimize_control and index is specified.
Thank you for you confirmation of what seems to be the issue. There is a major refarctor/improvement going on right now. It should fix a lot of graph issues, but I am not sure it will fix this one. When it gets merged, I will have a look at it.
@EveCharbie @pariterre Do you know if the major refactor fixed this issue ? Thanks !
I am not sure since plot.py is a bit capricious, but I fix some problems with this specific line during the refactor, definitely worth retrying
On my side it does not even show the plots anymore with show_online_optim=True :(
But the original error is still there. By adding a ObjectiveFcn.Mayer.MINIMIZE_STATE, key="q", target=1, index=0 I get a similar error as before
I do not have time to fix this right now. @pariterre or @tiagocoelhoma would you have time?
@tiagocoelhoma I think I fixed it in PR #851 :) Could you test it ?
I get the following error message:
when running the code TechOpt831 from https://github.com/EveCharbie/VisionOCP with solver = Solver.IPOPT(show_online_optim=True, show_options=dict(show_bounds=True))
When I have time, I will look more deeply in what seems to be the issue.