GithubHelp home page GithubHelp logo

Plot errors in multi-phase about bioptim HOT 8 OPEN

EveCharbie avatar EveCharbie commented on August 22, 2024
Plot errors in multi-phase

from bioptim.

Comments (8)

EveCharbie avatar EveCharbie commented on August 22, 2024 1

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.

from bioptim.

EveCharbie avatar EveCharbie commented on August 22, 2024

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.

from bioptim.

tiagocoelhoma avatar tiagocoelhoma commented on August 22, 2024

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.

from bioptim.

fbailly avatar fbailly commented on August 22, 2024

@EveCharbie @pariterre Do you know if the major refactor fixed this issue ?
Thanks !

from bioptim.

pariterre avatar pariterre commented on August 22, 2024

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

from bioptim.

EveCharbie avatar EveCharbie commented on August 22, 2024
  1. On my side it does not even show the plots anymore with show_online_optim=True :(

  2. 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

Screenshot 2024-02-06 at 10 36 26 AM

from bioptim.

EveCharbie avatar EveCharbie commented on August 22, 2024

I do not have time to fix this right now. @pariterre or @tiagocoelhoma would you have time?

from bioptim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.