pyomeca / bioptim

An optimization framework that links CasADi, Ipopt, ACADOS and biorbd for Optimal Control Problem
MIT License
94 stars 47 forks source link

Save and load extension possibility before deleting it #812

Open Ipuch opened 1 year ago

Ipuch commented 1 year ago

Enhancement: Extend save Feature to Include Version and Commit Info in a Zipped File

We may not need to delete save and load in #804

Description:

The goal of this enhancement is to modify the save method in Bioptim to provide more robust version tracking and compatibility checks for saved optimization solutions. The key features of this proposal include:

This enhancement makes it easier to track and resolve any version-related issues that might arise during the loading and processing of saved data.

EveCharbie commented 9 months ago

Finally, I understood that @pariterre did not want to go in this direction as he removed what I previously did with git version. Instead, I added an example on how we recommend to save the outputs in pendulum.

EveCharbie commented 7 months ago

It would be better to make a separate example with different ways to get the current version depending on the way bioptim was installed (conda-forge or local github available)