author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
538,842 | 10.09.2022 17:25:50 | 14,400 | 9b3e02ef554380dbbec2278581040a5da948babd | throwing out an useless argument 'continuous' | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -675,7 +675,6 @@ class Solution:\nout = self.__perform_integration(\nshooting_type=shooting_type,\nkeep_intermediate_points=keep_intermediate_points,\n- continuous=s... | Python | MIT License | pyomeca/bioptim | throwing out an useless argument 'continuous' |
538,842 | 10.09.2022 17:38:33 | 14,400 | 7b0dd7b90dc35e07be76690f2af49510223ed799 | modified error message test utils simulate | [
{
"change_type": "MODIFY",
"old_path": "tests/utils.py",
"new_path": "tests/utils.py",
"diff": "@@ -110,7 +110,10 @@ class TestUtils:\ndef simulate(sol, decimal_value=7):\nsol_merged = sol.merge_phases()\nif sum([nlp.ode_solver.is_direct_collocation for nlp in sol.ocp.nlp]):\n- with pytest.raises(Ru... | Python | MIT License | pyomeca/bioptim | modified error message test utils simulate |
538,842 | 10.09.2022 20:56:09 | 14,400 | 8afd98aff3472ba5086f347d60c96f5aa352af02 | make it compatible with ControlType.LINEAR_CONTINUOUS | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/torque_driven_ocp/slider.py",
"new_path": "bioptim/examples/torque_driven_ocp/slider.py",
"diff": "@@ -17,6 +17,7 @@ from bioptim import (\nOdeSolver,\nSolver,\nCostType,\n+ ControlType,\n)\n@@ -25,6 +26,7 @@ def prepare_ocp(\node_solver: OdeS... | Python | MIT License | pyomeca/bioptim | make it compatible with ControlType.LINEAR_CONTINUOUS |
538,842 | 10.09.2022 21:37:43 | 14,400 | 8ff2b283dbf69251be34d0a22b1075e7f16a174b | cleaning concatenation | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -625,7 +625,7 @@ class Solution:\n)\nn_direct_collocation = sum([nlp.ode_solver.is_direct_collocation for nlp in self.ocp.nlp])\n- if n_direct_collocation > 0 and in... | Python | MIT License | pyomeca/bioptim | cleaning concatenation |
538,842 | 12.09.2022 11:19:03 | 14,400 | 828fb2c5e12013ca4fde5b9ec526a75d433ee952 | SolutionIntegrator.DEFAULT is now .OCP | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/plot.py",
"new_path": "bioptim/gui/plot.py",
"diff": "@@ -199,7 +199,7 @@ class PlotOcp:\nautomatically_organize: bool = True,\nshow_bounds: bool = False,\nshooting_type: Shooting = Shooting.MULTIPLE,\n- integrator: SolutionIntegrator = SolutionInt... | Python | MIT License | pyomeca/bioptim | SolutionIntegrator.DEFAULT is now .OCP |
538,842 | 12.09.2022 11:20:41 | 14,400 | 5baa3cd73298c908231423ad3af0aeb7678a2eec | update Readme in accordance | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -1393,12 +1393,12 @@ Let's begin with `shooting_type = Shooting.SINGLE`, it re-integrates the ocp as\nOdeSolver | <div style=\"width:110px\">merge_phase</div> | <div style=\"width:80px\">Solution<br>Integrator</... | Python | MIT License | pyomeca/bioptim | update Readme in accordance |
538,842 | 12.09.2022 12:14:18 | 14,400 | e71d13149cbd892c7ccc06dc37b09bdafb5e98f9 | Adding the last node of phases in dms | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -755,8 +755,9 @@ class Solution:\nflat_time = [st for sub_time in time for st in sub_time]\n# add the final time of the phase\n- # if shooting_type == Shooting.MULTI... | Python | MIT License | pyomeca/bioptim | Adding the last node of phases in dms |
538,842 | 12.09.2022 15:25:44 | 14,400 | 9ef0d31e47a129cf83e9e5392a1992371ef35c3c | slowly restoring the tests | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/torque_driven_ocp/example_soft_contact.py",
"new_path": "bioptim/examples/torque_driven_ocp/example_soft_contact.py",
"diff": "@@ -29,6 +29,7 @@ from bioptim import (\nInterpolationType,\nSoftContactDynamics,\nRigidBodyDynamics,\n+ SolutionInt... | Python | MIT License | pyomeca/bioptim | slowly restoring the tests |
538,842 | 13.09.2022 10:49:11 | 14,400 | fb793cf8721429b4fd08d884acf10c9af5c8bc3d | refactor simulate tests | [
{
"change_type": "MODIFY",
"old_path": "tests/test_simulate.py",
"new_path": "tests/test_simulate.py",
"diff": "@@ -184,7 +184,7 @@ def test_integrate(integrator, ode_solver):\nbioptim_folder = os.path.dirname(ocp_module.__file__)\n- n_shooting = 80\n+ n_shooting = 30 if integrator == SolutionIntegr... | Python | MIT License | pyomeca/bioptim | refactor simulate tests |
538,842 | 13.09.2022 11:04:08 | 14,400 | 466cd9f6ac31c55f23697a593c8640bee0ff3651 | last one to refactor | [
{
"change_type": "MODIFY",
"old_path": "tests/test_initial_condition.py",
"new_path": "tests/test_initial_condition.py",
"diff": "@@ -197,11 +197,11 @@ def test_simulate_from_initial_multiple_shoot():\n# initial and final position\nnp.testing.assert_almost_equal(q[:, 0], np.array((-1.0, -2.0)))\n- n... | Python | MIT License | pyomeca/bioptim | last one to refactor |
538,842 | 15.09.2022 15:32:11 | 14,400 | dbdc37b8a285ee89860c906d9ac13f590c06335d | conda on push | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/autoblack.yml",
"new_path": ".github/workflows/autoblack.yml",
"diff": "# https://github.com/cclauss/autoblack\nname: autoblack\n-on: [pull_request]\n+on: [push]\njobs:\nbuild:\nruns-on: ubuntu-latest\n@@ -14,8 +14,13 @@ jobs:\nuses: actions/... | Python | MIT License | pyomeca/bioptim | conda on push |
538,842 | 15.09.2022 15:34:27 | 14,400 | 32bca86c8e316ae6bf83e8ecbaeca6be57401d21 | only check if blacked | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/autoblack.yml",
"new_path": ".github/workflows/autoblack.yml",
"diff": "@@ -22,14 +22,4 @@ jobs:\n- name: Install Black\nrun: conda install -c conda-forge black\n- name: Run black --check .\n- run: black --check .\n- - name: If needed, commit... | Python | MIT License | pyomeca/bioptim | only check if blacked |
538,842 | 15.09.2022 18:44:22 | 14,400 | f221ce8aad1f9d16a7d40130f6fd99296a99810d | enhanced solve_ivp interface | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/solve_ivp_interface.py",
"new_path": "bioptim/interfaces/solve_ivp_interface.py",
"diff": "@@ -94,14 +94,14 @@ def solve_ivp_interface(\ndef define_control_function(\n- t_eval: np.ndarray, controls: np.ndarray, control_type: ControlType, kee... | Python | MIT License | pyomeca/bioptim | enhanced solve_ivp interface |
538,842 | 16.09.2022 13:33:05 | 14,400 | b1f1e4b3d9cf83d2f7e6fb5157665f4c14d8e4dc | Satisfying the review | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -1420,9 +1420,8 @@ COLLOCATION | False | SCIPY | :white_check_mark: | |\n##### Shooting.MULTIPLE\nLet's finish with `shooting_type = Shooting.MULTIPLE`,\n-please not that this cannot be used with `keep_intermedi... | Python | MIT License | pyomeca/bioptim | Satisfying the review |
538,842 | 16.09.2022 14:14:02 | 14,400 | 9f904e900029c9ca4aee7a6cbd9c08bb3cd50705 | blacked not to forget | [
{
"change_type": "MODIFY",
"old_path": "tests/test_simulate.py",
"new_path": "tests/test_simulate.py",
"diff": "@@ -300,14 +300,8 @@ def test_integrate_single_shoot(keep_intermediate_points, ode_solver):\n_ = sol_integrated.controls\n-@pytest.mark.parametrize(\"ode_solver\", [\n- OdeSolver.RK4,\n- O... | Python | MIT License | pyomeca/bioptim | blacked not to forget |
538,842 | 16.09.2022 14:52:24 | 14,400 | 35dd1986a74a05ada6ae66015c669194abcc4d71 | let's go with this | [
{
"change_type": "DELETE",
"old_path": ".github/workflows/autoblack.yml",
"new_path": null,
"diff": "-# GitHub Action that uses Black to reformat the Python code in an incoming pull request.\n-# If all Python code in the pull request is compliant with Black then this Action does nothing.\n-# Othewrw... | Python | MIT License | pyomeca/bioptim | let's go with this |
538,848 | 22.09.2022 14:26:45 | 14,400 | d11efd18a16081f2043f36a0154057bbeb005e3e | Bumped again | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "@@ -5,7 +5,7 @@ with open(\"README.md\", \"r\") as fh:\nsetup(\nname=\"bioptim\",\n- version=\"2.1.3\",\n+ version=\"2.3.0\",\nauthor=\"Pariterre\",\nauthor_email=\"pariterre@hotmail.com\",\ndescription=\"An optimiza... | Python | MIT License | pyomeca/bioptim | Bumped again |
538,848 | 22.09.2022 14:27:22 | 14,400 | 007e79d096a4df99dd936146b89f1d36e37e1bc2 | Bumped minimum version of biorbd to 1.9.1 | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimal_control_program.py",
"new_path": "bioptim/optimization/optimal_control_program.py",
"diff": "@@ -50,7 +50,7 @@ from ..misc.utils import check_version\nfrom ..optimization.parameters import ParameterList, Parameter\nfrom ..optimizat... | Python | MIT License | pyomeca/bioptim | Bumped minimum version of biorbd to 1.9.1 |
538,842 | 30.09.2022 16:22:20 | 14,400 | b4ae9f6e23ced57f7cd0b6737ec865a0fbcba7c0 | more detailed detailed costs | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimization_variable.py",
"new_path": "bioptim/optimization/optimization_variable.py",
"diff": "@@ -231,7 +231,7 @@ class OptimizationVariableList:\n@property\ndef cx_intermediates_list(self):\n\"\"\"\n- The the cx of all elements togethe... | Python | MIT License | pyomeca/bioptim | more detailed detailed costs |
538,842 | 30.09.2022 16:44:59 | 14,400 | 1689718d8ab4b29e3c83dd186df7dd9fa091b79b | it's getting better isn't it ? | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -1348,7 +1348,7 @@ class Solution:\nif not penalty:\ncontinue\nval, val_weighted = self._get_penalty_cost(nlp, penalty)\n- self.detailed_cost += [{\"name\": penalty.... | Python | MIT License | pyomeca/bioptim | it's getting better isn't it ? |
538,842 | 30.09.2022 16:53:07 | 14,400 | 6fa4772a775ba50fc4404f56db960851d4f6b4b6 | ready to review | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -1415,7 +1415,7 @@ class Solution:\ndef print_constraints(ocp, sol):\n\"\"\"\n- Print the values of each constraints with its lagrange multiplier to the console\n+ P... | Python | MIT License | pyomeca/bioptim | ready to review |
538,842 | 04.10.2022 17:29:35 | 14,400 | 2b6bad603dbc2d2704a17be50cff67d580f1d35d | integration rule tested in collocation | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -1299,7 +1299,9 @@ class Solution:\nor penalty.explicit_derivative\nor penalty.integration_rule == IntegralApproximation.TRAPEZOIDAL\n):\n- col_x_idx.append((idx + 1... | Python | MIT License | pyomeca/bioptim | integration rule tested in collocation |
538,842 | 06.10.2022 15:52:23 | 14,400 | aecad18ebd4fafaa3d2f58336eec9463af3d5cd4 | .__str__() gone | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -1389,9 +1389,9 @@ class Solution:\n}\n]\nif print_only_weighted:\n- print(f\"{penalty.type.__str__()}: {val_weighted}\")\n+ print(f\"{penalty.type}: {val_weighted}\... | Python | MIT License | pyomeca/bioptim | .__str__() gone |
538,867 | 12.10.2022 10:44:52 | 14,400 | 8784a106d1bd4dce71b0e4df60e71f551433b020 | Issue#550 correction | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/graph.py",
"new_path": "bioptim/gui/graph.py",
"diff": "@@ -250,7 +250,7 @@ class GraphAbstract:\ninitial_guess_str = self._structure_scaling_parameter(parameter.initial_guess.init, parameter)\nmin_bound_str = self._structure_scaling_parameter(para... | Python | MIT License | pyomeca/bioptim | Issue#550 correction |
538,842 | 14.10.2022 17:40:23 | 14,400 | 4b7c0b5129e8915059af2b8cd6c9ce7be25dcd07 | noise magnitude controled by states | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -867,7 +867,7 @@ class NoisedInitialGuess(InitialGuess):\ninitial_guess: Union[np.ndarray, list, tuple, float, Callable, PathCondition, InitialGuess] = None,\ninte... | Python | MIT License | pyomeca/bioptim | noise magnitude controled by states |
538,842 | 18.10.2022 13:57:49 | 14,400 | 0f5db67b23edf45d89c1b8367b5247da05950069 | fixing the noise | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -969,37 +969,31 @@ class NoisedInitialGuess(InitialGuess):\nbounds_min_matrix[:, shooting_point] = self.bounds.min.evaluate_at(shooting_point)\nbounds_max_matrix[:... | Python | MIT License | pyomeca/bioptim | fixing the noise |
538,842 | 18.10.2022 16:33:42 | 14,400 | a94395e891d96fbd9337052803460eb9b485ea24 | bound push fixed | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -997,10 +997,10 @@ class NoisedInitialGuess(InitialGuess):\nself.noised_initial_guess = init_instance.init + self.noise\nfor shooting_point in range(ns):\ntoo_smal... | Python | MIT License | pyomeca/bioptim | bound push fixed |
538,842 | 19.10.2022 15:16:06 | 14,400 | 3802b3418de060eb43a73403050c4e31de0abc95 | fixing sol.print() for multiphase problems | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_multiphase.py",
"new_path": "bioptim/examples/getting_started/example_multiphase.py",
"diff": "@@ -145,6 +145,7 @@ def main():\nsol = ocp.solve(Solver.IPOPT(show_online_optim=True))\n# --- Show results --- #\n+ sol.prin... | Python | MIT License | pyomeca/bioptim | fixing sol.print() for multiphase problems |
538,842 | 19.10.2022 18:09:17 | 14,400 | 0d41ba0c5b559de07d39892e9fd79e2aea302fa3 | initial_guess with array list or tuples | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -902,6 +902,11 @@ class NoisedInitialGuess(InitialGuess):\nif bounds is None:\nraise RuntimeError(\"'bounds' must be specified to generate noised initial guess\")\... | Python | MIT License | pyomeca/bioptim | initial_guess with array list or tuples |
538,855 | 20.10.2022 12:28:04 | 14,400 | 3f2b980c9b9e9a1899430ae648d2bf91b87225fa | added an example on how to use the sqp method | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "bioptim/examples/sqp_method/pendulum.py",
"diff": "+\"\"\"\n+A very simple example to show how to use the SQP method.\n+The example is taken from getting_started/pendulum.py\n+\"\"\"\n+\n+import numpy as np\n+import biorbd_casadi as biorbd\n+fro... | Python | MIT License | pyomeca/bioptim | added an example on how to use the sqp method |
538,855 | 20.10.2022 12:28:34 | 14,400 | 0f6a2e5fba9fe33025834e8bcf9eaa1cdc856112 | added the sqp to ipopt interface | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/ipopt_interface.py",
"new_path": "bioptim/interfaces/ipopt_interface.py",
"diff": "@@ -47,7 +47,7 @@ class IpoptInterface(SolverInterface):\nParse the objective functions of the full ocp to a Ipopt-friendly one\n\"\"\"\n- def __init__(self, ... | Python | MIT License | pyomeca/bioptim | added the sqp to ipopt interface |
538,855 | 20.10.2022 12:29:40 | 14,400 | b810a20d34a73b1ce6fdb6896cc51430c57800c6 | added the solver SQP | [
{
"change_type": "MODIFY",
"old_path": "bioptim/misc/enums.py",
"new_path": "bioptim/misc/enums.py",
"diff": "@@ -19,6 +19,7 @@ class SolverType(Enum):\nIPOPT = \"Ipopt\"\nACADOS = \"ACADOS\"\n+ SQP_METHOD = \"SQP\"\nNONE = None\n"
},
{
"change_type": "MODIFY",
"old_path": "bioptim/optim... | Python | MIT License | pyomeca/bioptim | added the solver SQP |
538,855 | 20.10.2022 12:29:51 | 14,400 | 6a95bdbe026462d66c0a885d6e223739bea7b43a | added the model for the example | [
{
"change_type": "ADD",
"old_path": "bioptim/examples/sqp_method/models/mesh/pendulum.STL",
"new_path": "bioptim/examples/sqp_method/models/mesh/pendulum.STL",
"diff": "Binary files /dev/null and b/bioptim/examples/sqp_method/models/mesh/pendulum.STL differ\n"
},
{
"change_type": "ADD",
... | Python | MIT License | pyomeca/bioptim | added the model for the example |
538,842 | 20.10.2022 16:15:21 | 14,400 | 14a3bdc8560e5803fa0a2697ace607fd30e77ef7 | review to be mergeable | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -911,17 +911,19 @@ class NoisedInitialGuess(InitialGuess):\ninterpolation = initial_guess.type\nif interpolation == InterpolationType.ALL_POINTS:\nbounds.n_shootin... | Python | MIT License | pyomeca/bioptim | review to be mergeable |
538,855 | 20.10.2022 17:38:45 | 14,400 | 1b9c624cacdb4f1aae2863d2ca74a3673225fbcd | made requested changes except copy-paste | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/ipopt_interface.py",
"new_path": "bioptim/interfaces/ipopt_interface.py",
"diff": "@@ -47,7 +47,7 @@ class IpoptInterface(SolverInterface):\nParse the objective functions of the full ocp to a Ipopt-friendly one\n\"\"\"\n- def __init__(self, ... | Python | MIT License | pyomeca/bioptim | made requested changes except copy-paste |
538,855 | 20.10.2022 18:05:51 | 14,400 | a292691025248eea3a0aa888dd246fcf30008219 | modifyed example | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/sqp_method/pendulum.py",
"new_path": "bioptim/examples/sqp_method/pendulum.py",
"diff": "@@ -24,7 +24,6 @@ def prepare_ocp(\nbiorbd_model_path: str,\nfinal_time: float,\nn_shooting: int,\n- x_ipopt: np.ndarray,\node_solver: OdeSolver = OdeSolv... | Python | MIT License | pyomeca/bioptim | modifyed example |
538,867 | 24.10.2022 10:10:09 | 14,400 | 86302889d4e415b7e6c9fff3b19dc71715cef8b5 | .to_noised_initial_guess function, v0
New function to apply different noise for each phase of a multiphase problem. first version so it needs more optimization and a few changes | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "-from typing import Union, Callable, Any\n+from typing import Union, Callable, Any, List, Tuple\nimport biorbd_casadi as biorbd\nimport numpy as np\n@@ -1040,3 +1040,... | Python | MIT License | pyomeca/bioptim | .to_noised_initial_guess function, v0
New function to apply different noise for each phase of a multiphase problem. first version so it needs more optimization and a few changes |
538,867 | 24.10.2022 15:20:01 | 14,400 | 7456f3f70ca112614a56977aee6f861a3fe6f5a0 | Auto stash before revert of "add of cube in my sandbox"
Ameliorations for to_noised_initial_guess function | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -1043,62 +1043,85 @@ class InitialGuessList(UniquePerPhaseOptionList):\ndef to_noised_initial_guess(\nself,\n+ # todo: re-order type of hints\nbounds: Union[Bounds... | Python | MIT License | pyomeca/bioptim | Auto stash before revert of "add of cube in my sandbox"
Ameliorations for to_noised_initial_guess function |
538,867 | 24.10.2022 15:51:18 | 14,400 | 4427801236ce04897046506663bc3c91d45af407 | Ameliorations of to_noised_initial_guess function | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -110,3 +110,5 @@ c_generated_code\n# Remove graphviz files\n*.gv\n*.gv.pdf\n+\n+bioptim/sandbox/\n"
},
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "b... | Python | MIT License | pyomeca/bioptim | Ameliorations of to_noised_initial_guess function |
538,867 | 25.10.2022 14:22:49 | 14,400 | a405862a2f68184750a96ab86c55c405c7522a8e | work on to_noised_inial_guess | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -883,8 +883,8 @@ class NoisedInitialGuess(InitialGuess):\nbounds: Union[Bounds, BoundsList, QAndQDotBounds]\nThe bounds\nnoise_magnitude: Union[list, int, float]\n... | Python | MIT License | pyomeca/bioptim | work on to_noised_inial_guess |
538,867 | 25.10.2022 14:24:15 | 14,400 | baf8d9f458e598edc9873478a90fa31db31582e3 | rename from to_noised_initial_guess to add_noise | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -1041,7 +1041,7 @@ class InitialGuessList(UniquePerPhaseOptionList):\n\"\"\"\nraise NotImplementedError(\"Printing of InitialGuessList is not ready yet\")\n- def t... | Python | MIT License | pyomeca/bioptim | rename from to_noised_initial_guess to add_noise |
538,842 | 25.10.2022 14:26:26 | 14,400 | 08e54621246e15c6a164e87e09529379a7ae9c03 | check noise_magnitude format and type | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -919,13 +919,37 @@ class NoisedInitialGuess(InitialGuess):\nself.seed = seed\n+ self._check_noise_magnitude(noise_magnitude)\n+ self.noise = None\n+\n+ self._creat... | Python | MIT License | pyomeca/bioptim | check noise_magnitude format and type |
538,842 | 25.10.2022 16:34:06 | 14,400 | d80bbb20a00c53019dfc1eb1d4769b8c1cdbf94f | implicit defect for muscle driven problems | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -495,7 +495,8 @@ class ConfigureProblem:\nraise NotImplementedError(\"MUSCLE_DRIVEN cannot be used with this enum RigidBodyDynamics yet\")\nConfigureProble... | Python | MIT License | pyomeca/bioptim | implicit defect for muscle driven problems |
538,842 | 25.10.2022 17:54:40 | 14,400 | cea20038b7c1bea773efc2f999989dc9b727acaa | test torque driven defect type implicit | [
{
"change_type": "MODIFY",
"old_path": "tests/test_global_torque_driven_ocp.py",
"new_path": "tests/test_global_torque_driven_ocp.py",
"diff": "@@ -6,7 +6,7 @@ import pytest\nimport numpy as np\nimport biorbd_casadi as biorbd\n-from bioptim import OdeSolver, ConstraintList, ConstraintFcn, Node\n+fro... | Python | MIT License | pyomeca/bioptim | test torque driven defect type implicit |
538,855 | 25.10.2022 18:04:07 | 14,400 | d5871841926274b081552cd7f19b8f4901d7d5fd | copy-pasted same functions in another file | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "bioptim/interfaces/interface_utils.py",
"diff": "+from time import perf_counter\n+from sys import platform\n+\n+from casadi import Importer\n+import numpy as np\n+from casadi import horzcat, vertcat, sum1, sum2, nlpsol, SX, MX, reshape\n+\n+from... | Python | MIT License | pyomeca/bioptim | copy-pasted same functions in another file |
538,860 | 26.10.2022 11:00:37 | 14,400 | 0a96268f781551b46842965ac8c3d4cc6aed82ed | multiphase check conditioning | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "bioptim/examples/getting_started/example_multiphase_checkconditioning.py",
"diff": "+\"\"\"\n+This example is a trivial box that must superimpose one of its corner to a marker at the beginning of the movement and\n+a the at different marker at t... | Python | MIT License | pyomeca/bioptim | multiphase check conditioning |
538,867 | 26.10.2022 11:37:07 | 14,400 | 74438cc214105e44d3627a8b664cbebba48567d0 | add of extra parameters in add_noise function | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -1077,6 +1077,7 @@ class InitialGuessList(UniquePerPhaseOptionList):\nn_shooting: Union[int, List[int], Tuple[int]] = None,\nbound_push: Union[int, float, List[int... | Python | MIT License | pyomeca/bioptim | add of extra parameters in add_noise function |
538,867 | 27.10.2022 12:42:17 | 14,400 | 567eb16966947431f6a2cff07e5878f78ece41dd | NoisedInitialGuess and add_noise modifications | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -867,12 +867,11 @@ class NoisedInitialGuess(InitialGuess):\ninitial_guess: Union[np.ndarray, list, tuple, float, Callable, PathCondition, InitialGuess] = None,\nin... | Python | MIT License | pyomeca/bioptim | NoisedInitialGuess and add_noise modifications |
538,867 | 27.10.2022 17:07:10 | 14,400 | a9919f1fc15dd4e821d6a87cfc594ecf214ea7a6 | add_noise corrections after online review | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -6,11 +6,10 @@ from casadi import MX, SX, vertcat\nfrom scipy.interpolate import interp1d\nfrom numpy import array, ndarray\n-from ..misc.enums import Interpolatio... | Python | MIT License | pyomeca/bioptim | add_noise corrections after online review |
538,859 | 03.10.2022 18:25:27 | 14,400 | e38152b4424c425e3629df1b73d1c7e80bbbfbf6 | Start change test for last biorbd version release | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/muscle_driven_ocp/models/arm26.bioMod",
"new_path": "bioptim/examples/muscle_driven_ocp/models/arm26.bioMod",
"diff": "@@ -201,6 +201,7 @@ endmusclegroup\nmuscle TRIlong\nType hillthelenfatigable\n+ statetype degroote\nmusclegroup base_to_r_ul... | Python | MIT License | pyomeca/bioptim | Start change test for last biorbd version release |
538,859 | 06.10.2022 15:54:22 | 14,400 | aefcf080b82853026d6b066fc89a3d961dc80d33 | Update biorbd version | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimal_control_program.py",
"new_path": "bioptim/optimization/optimal_control_program.py",
"diff": "@@ -50,7 +50,7 @@ from ..misc.utils import check_version\nfrom ..optimization.parameters import ParameterList, Parameter\nfrom ..optimizat... | Python | MIT License | pyomeca/bioptim | Update biorbd version |
538,859 | 12.10.2022 13:09:05 | 14,400 | 1105e7071e8cd8f30ae40d00d80ca0fbe5fb8ed1 | Update forgotten test | [
{
"change_type": "MODIFY",
"old_path": "tests/test_dynamics.py",
"new_path": "tests/test_dynamics.py",
"diff": "@@ -729,6 +729,7 @@ def test_muscle_driven(with_excitations, with_contact, with_torque, with_externa\ncontrols = np.random.rand(nlp.controls.shape, nlp.ns)\nparams = np.random.rand(nlp.par... | Python | MIT License | pyomeca/bioptim | Update forgotten test |
538,842 | 25.10.2022 18:06:43 | 14,400 | cedd6131ae66b069583cc95c5e7bd6615ddc66f8 | fixing a test for console print | [
{
"change_type": "MODIFY",
"old_path": "tests/test__global_plots.py",
"new_path": "tests/test__global_plots.py",
"diff": "@@ -219,33 +219,33 @@ def test_console_objective_functions():\n\"\\n\"\n\"---- COST FUNCTION VALUES ----\\n\"\n\"PHASE 0\\n\"\n- \"MINIMIZE_CONTROL: 60.00 (weighted 120.0)\\n\"\n... | Python | MIT License | pyomeca/bioptim | fixing a test for console print |
538,842 | 27.10.2022 13:28:43 | 14,400 | 86391b8da785f6b8424b49a7f9e42db2855e51d7 | shooting only for linux | [
{
"change_type": "MODIFY",
"old_path": "tests/test_simulate.py",
"new_path": "tests/test_simulate.py",
"diff": "@@ -303,7 +303,7 @@ def test_integrate_single_shoot(keep_intermediate_points, ode_solver):\n@pytest.mark.parametrize(\"ode_solver\", [OdeSolver.RK4, OdeSolver.COLLOCATION])\n@pytest.mark.p... | Python | MIT License | pyomeca/bioptim | shooting only for linux |
538,842 | 27.10.2022 13:24:19 | 14,400 | b0df1f9abfb5539a1002aa3c7c045a53e7e85c3d | fixing a decimal for one test | [
{
"change_type": "MODIFY",
"old_path": "tests/test_cost_function_integration.py",
"new_path": "tests/test_cost_function_integration.py",
"diff": "@@ -478,8 +478,8 @@ def test_pendulum_target(control_type, integration_rule, objective):\nnp.testing.assert_almost_equal(f[0, 0], 47.20218950613529)\nnp.t... | Python | MIT License | pyomeca/bioptim | fixing a decimal for one test |
538,842 | 27.10.2022 16:59:10 | 14,400 | c9d6af8ab446f05318efbbff3d045f58af0c1348 | Auto stash before cherry pick of "save time"
fixing eve PR | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/interface_utils.py",
"new_path": "bioptim/interfaces/interface_utils.py",
"diff": "@@ -7,7 +7,7 @@ from casadi import horzcat, vertcat, sum1, sum2, nlpsol, SX, MX, reshape\nfrom ..gui.plot import OnlineCallback\nfrom ..limits.path_conditions... | Python | MIT License | pyomeca/bioptim | Auto stash before cherry pick of "save time"
fixing eve PR |
538,842 | 27.10.2022 17:15:45 | 14,400 | 0b72c61fe62b9efb91c12f73d0d008eec4aa0c7d | set_qp_solver need to be a standard between acados and sqp casadi | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/solver_options.py",
"new_path": "bioptim/interfaces/solver_options.py",
"diff": "@@ -558,7 +558,7 @@ class Solver:\n\"\"\"\nself._print_time = print_time\n- def set_qpsol(self, qpsol: str):\n+ def set_qp_solver(self, qpsol: str):\n\"\"\"\nTh... | Python | MIT License | pyomeca/bioptim | set_qp_solver need to be a standard between acados and sqp casadi |
538,842 | 27.10.2022 17:29:00 | 14,400 | dc61ce3dfc6ba617c42baf07bd358e81157ced53 | not tested on mac | [
{
"change_type": "MODIFY",
"old_path": "tests/test_global_fatigue.py",
"new_path": "tests/test_global_fatigue.py",
"diff": "@@ -296,6 +296,10 @@ def test_effort_fatigable_muscles():\ndef test_fatigable_xia_torque_non_split():\nfrom bioptim.examples.fatigue import pendulum_with_fatigue as ocp_module\... | Python | MIT License | pyomeca/bioptim | not tested on mac |
538,842 | 27.10.2022 17:47:45 | 14,400 | 2ed6bd9cd44bb906e8d5baa1340f85aba59cdc03 | delete appveyor | [
{
"change_type": "DELETE",
"old_path": ".appveyor.yml",
"new_path": null,
"diff": "-#---------------------------------#\n-# environment configuration #\n-#---------------------------------#\n-\n-# Build worker image (VM template)\n-image:\n- - macos\n- - Ubuntu2004\n- - Visual Studio 2019\n-\n-# set... | Python | MIT License | pyomeca/bioptim | delete appveyor |
538,842 | 27.10.2022 18:05:01 | 14,400 | b54ea5b2203de5a78ede191452ff670a7ad21800 | final blacked | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/ipopt_interface.py",
"new_path": "bioptim/interfaces/ipopt_interface.py",
"diff": "@@ -6,7 +6,7 @@ from .interface_utils import (\ngeneric_dispatch_bounds,\ngeneric_dispatch_obj_func,\ngeneric_get_all_penalties,\n- generic_set_lagrange_multi... | Python | MIT License | pyomeca/bioptim | final blacked |
538,848 | 27.10.2022 19:44:41 | 14,400 | 9153bef5133b9dfad1e2637461975d1855b12d8a | removed a useless print | [
{
"change_type": "MODIFY",
"old_path": "tests/test_dynamics.py",
"new_path": "tests/test_dynamics.py",
"diff": "@@ -729,7 +729,6 @@ def test_muscle_driven(with_excitations, with_contact, with_torque, with_externa\ncontrols = np.random.rand(nlp.controls.shape, nlp.ns)\nparams = np.random.rand(nlp.par... | Python | MIT License | pyomeca/bioptim | removed a useless print |
538,855 | 27.09.2022 11:58:43 | 14,400 | 88658ece35c425f489ec56a6a8aea5f286b27314 | no interphase continuity constraint | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/multinode_constraint.py",
"new_path": "bioptim/limits/multinode_constraint.py",
"diff": "@@ -245,6 +245,35 @@ class MultinodeConstraintFunctions(PenaltyFunctionAbstract):\nreturn states_pre - states_post\n+ def no_constraint(multinode_constraint... | Python | MIT License | pyomeca/bioptim | no interphase continuity constraint |
538,855 | 27.09.2022 11:59:10 | 14,400 | b6d25049a0de5b6aecf384c83002248112fc763b | added example of no interphase continuity | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "bioptim/examples/torque_driven_ocp/models/double_pendulum_modified_inertia.bioMod",
"diff": "+version 4\n+\n+segment Seg1\n+ rotations x\n+ ranges\n+ -10*pi 10*pi\n+ mass 1\n+ inertia\n+ 0.03 0.0000 0.0000\n+ 0.0000 0.03 -0.0032\n+ 0.0000 -0.003... | Python | MIT License | pyomeca/bioptim | added example of no interphase continuity |
538,855 | 27.09.2022 17:25:28 | 14,400 | db1291a2dc7057c4546a2c3a45da8de55c5365ad | added multinode time constraint | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/torque_driven_ocp/multi_model_by_mapping.py",
"new_path": "bioptim/examples/torque_driven_ocp/multi_model_by_mapping.py",
"diff": "@@ -17,6 +17,8 @@ from bioptim import (\nPhaseTransitionList,\nPhaseTransitionFcn,\nBiMapping,\n+ MultinodeConst... | Python | MIT License | pyomeca/bioptim | added multinode time constraint |
538,855 | 27.09.2022 17:25:47 | 14,400 | 9a877c917da13dd39088edf659b4ab3e6fc20387 | function name change proposition | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/multinode_constraint.py",
"new_path": "bioptim/limits/multinode_constraint.py",
"diff": "@@ -216,7 +216,7 @@ class MultinodeConstraintFunctions(PenaltyFunctionAbstract):\n\"\"\"\n@staticmethod\n- def equality(multinode_constraint, all_pn):\n+ de... | Python | MIT License | pyomeca/bioptim | function name change proposition |
538,855 | 29.09.2022 17:13:36 | 14,400 | 6f6e551df0c0081c19f1f228f01433f185091bec | added NodeMapping classes | [
{
"change_type": "MODIFY",
"old_path": "bioptim/__init__.py",
"new_path": "bioptim/__init__.py",
"diff": "@@ -126,6 +126,10 @@ BiMapping\nMapping of two index sets between each other\nBiMappingList\nA list of BiMapping\n+NodeMapping\n+ Mapping of two node sets\n+NodeMappingList\n+ A list of NodeMapp... | Python | MIT License | pyomeca/bioptim | added NodeMapping classes |
538,855 | 29.09.2022 17:16:46 | 14,400 | 48707986ee3c59ad38332361cc641b9f3a27e4e5 | added ocp argument everywhere
might have forgotten some of them (will comeback later with tests) | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -219,13 +219,13 @@ class ConfigureProblem:\nrigidbody_dynamics == RigidBodyDynamics.DAE_FORWARD_DYNAMICS\nor rigidbody_dynamics == RigidBodyDynamics.DAE_IN... | Python | MIT License | pyomeca/bioptim | added ocp argument everywhere
might have forgotten some of them (will comeback later with tests) |
538,855 | 29.09.2022 17:19:45 | 14,400 | 158d444030f7a7fc0802f0cbf43a2cd990fdd187 | added node_mapping to ocp | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimal_control_program.py",
"new_path": "bioptim/optimization/optimal_control_program.py",
"diff": "@@ -15,7 +15,7 @@ from .non_linear_program import NonLinearProgram as NLP\nfrom .optimization_vector import OptimizationVector\nfrom ..dyn... | Python | MIT License | pyomeca/bioptim | added node_mapping to ocp |
538,855 | 29.09.2022 17:20:38 | 14,400 | ade66908546e795066e0066c2f120048e7504f84 | changed the way not defining node_mapping works | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -841,13 +841,30 @@ class ConfigureProblem:\nif name not in nlp.variable_mappings:\nnlp.variable_mappings[name] = BiMapping(range(len(name_elements)), range... | Python | MIT License | pyomeca/bioptim | changed the way not defining node_mapping works |
538,855 | 30.09.2022 17:07:59 | 14,400 | 79f1cad3d17cf7d436b557e7ffffc54ca6d8664d | Used the variables from the right phase | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/ipopt_interface.py",
"new_path": "bioptim/interfaces/ipopt_interface.py",
"diff": "@@ -139,3 +139,121 @@ class IpoptInterface(SolverInterface):\n\"\"\"\nreturn generic_get_all_penalties(self, nlp, penalties)\n+\n+ def format_target(target_in... | Python | MIT License | pyomeca/bioptim | Used the variables from the right phase |
538,855 | 30.09.2022 17:08:22 | 14,400 | 1dae068e6fc44aa199651d2b157c2ff4d0021212 | removed phase continuity | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/constraints.py",
"new_path": "bioptim/limits/constraints.py",
"diff": "@@ -547,6 +547,7 @@ class ConstraintFunction(PenaltyFunctionAbstract):\n\"\"\"\nfor pt in ocp.phase_transitions:\n# Dynamics must be respected between phases\n+ if pt.phase_p... | Python | MIT License | pyomeca/bioptim | removed phase continuity |
538,855 | 03.10.2022 09:53:23 | 14,400 | c716f55b53e9da86f8cce0d827fa5eede95377bc | updated bound with the mapping | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/torque_driven_ocp/multi_model_by_mapping.py",
"new_path": "bioptim/examples/torque_driven_ocp/multi_model_by_mapping.py",
"diff": "@@ -84,12 +84,12 @@ def prepare_ocp(\n# Define control path constraint\nu_bounds = BoundsList()\nu_bounds.add([t... | Python | MIT License | pyomeca/bioptim | updated bound with the mapping |
538,855 | 03.10.2022 09:53:58 | 14,400 | d54d66b043811c36cfc0fcc1b18c8835086f2055 | updated initial guess with mapping | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -1047,7 +1047,7 @@ class InitialGuessList(UniquePerPhaseOptionList):\nPrint the InitialGuessList to the console\n\"\"\"\n- def add(self, initial_guess: Union[Initi... | Python | MIT License | pyomeca/bioptim | updated initial guess with mapping |
538,855 | 05.10.2022 14:46:22 | 14,400 | 5e15a5c689246a2cf1df3456db38463774f3624a | added model for bioviz | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "bioptim/examples/torque_driven_ocp/models/double_pendulum_both_inertia.bioMod",
"diff": "+version 4\n+\n+\n+segment Seg1_1\n+ rotations x\n+ ranges\n+ -10*pi 10*pi\n+ mass 1\n+ inertia\n+ 0.0391 0.0000 0.0000\n+ 0.0000 0.0335 -0.0032\n+ 0.0000 -... | Python | MIT License | pyomeca/bioptim | added model for bioviz |
538,855 | 05.10.2022 14:47:02 | 14,400 | b2433ca26cfa01a599958a051a2c424f23487205 | added viz to example_by_mapping | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/torque_driven_ocp/multi_model_by_mapping.py",
"new_path": "bioptim/examples/torque_driven_ocp/multi_model_by_mapping.py",
"diff": "@@ -121,9 +121,16 @@ def main():\n# --- Solve the program --- #\nsol = ocp.solve()\n- # --- Show results --- #\n... | Python | MIT License | pyomeca/bioptim | added viz to example_by_mapping |
538,855 | 05.10.2022 14:47:54 | 14,400 | bd81140ee39b65baf68b30c5095fd0846400488c | added example by_constraint | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "bioptim/examples/torque_driven_ocp/multi_model_by_constraint.py",
"diff": "+import biorbd_casadi as biorbd\n+import numpy as np\n+from bioptim import (\n+ OptimalControlProgram,\n+ DynamicsList,\n+ DynamicsFcn,\n+ ObjectiveList,\n+ BoundsList,\n... | Python | MIT License | pyomeca/bioptim | added example by_constraint |
538,855 | 05.10.2022 14:49:35 | 14,400 | e8b44d2836a73af94c8eee5f988061d78204b559 | fixed the generation of the solution vector | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimization_vector.py",
"new_path": "bioptim/optimization/optimization_vector.py",
"diff": "@@ -256,6 +256,7 @@ class OptimizationVector:\noffset = 0\np_idx = 0\nfor p in range(self.ocp.n_phases):\n+ if self.ocp.nlp[p].use_states_from_pha... | Python | MIT License | pyomeca/bioptim | fixed the generation of the solution vector |
538,855 | 05.10.2022 14:50:05 | 14,400 | c485e8da94c980355f5e4094adb7e196e7e7a575 | fixed the generation of the solution | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -205,6 +205,8 @@ class Solution:\n\"\"\"\nself.phase_idx = nlp.phase_idx\n+ self.use_states_from_phase_idx = nlp.use_states_from_phase_idx\n+ self.use_controls_from_... | Python | MIT License | pyomeca/bioptim | fixed the generation of the solution |
538,855 | 05.10.2022 15:28:56 | 14,400 | 612fb0491594ecd5b60bbe33e7d8b947c74e32ff | added the keys to mnc and fixed by_constraint example | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/torque_driven_ocp/multi_model_by_constraint.py",
"new_path": "bioptim/examples/torque_driven_ocp/multi_model_by_constraint.py",
"diff": "@@ -48,7 +48,7 @@ def prepare_ocp(\nfirst_node=Node.END, second_node=Node.END)\nfor i in range(n_shooting[... | Python | MIT License | pyomeca/bioptim | added the keys to mnc and fixed by_constraint example |
538,855 | 05.10.2022 15:33:14 | 14,400 | a220af3257575e8d36a064ce4e2fc67822563af2 | removed fioriture | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/torque_driven_ocp/multi_model_by_mapping.py",
"new_path": "bioptim/examples/torque_driven_ocp/multi_model_by_mapping.py",
"diff": "@@ -38,7 +38,7 @@ def prepare_ocp(\n# Phase mapping\nnode_mappings = NodeMappingList()\n- node_mappings.add(\"ta... | Python | MIT License | pyomeca/bioptim | removed fioriture |
538,855 | 05.10.2022 17:12:17 | 14,400 | 40501cc0b83619bb4f8819e4a33e34130a10437c | Added time mapping | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimal_control_program.py",
"new_path": "bioptim/optimization/optimal_control_program.py",
"diff": "@@ -155,6 +155,7 @@ class OptimalControlProgram:\node_solver: Union[list, OdeSolverBase, OdeSolver] = None,\ncontrol_type: Union[ControlTy... | Python | MIT License | pyomeca/bioptim | Added time mapping |
538,855 | 05.10.2022 17:12:31 | 14,400 | 62754dc3ce979ef8a155d8d937f8d6c327323073 | adjusted example by_mapping accordingly | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/torque_driven_ocp/multi_model_by_mapping.py",
"new_path": "bioptim/examples/torque_driven_ocp/multi_model_by_mapping.py",
"diff": "@@ -7,14 +7,11 @@ from bioptim import (\nObjectiveList,\nBoundsList,\nInitialGuessList,\n- Node,\nQAndQDotBounds... | Python | MIT License | pyomeca/bioptim | adjusted example by_mapping accordingly |
538,855 | 05.10.2022 18:02:35 | 14,400 | 5dbad426603961cfb13d3a917212a01e6db299a8 | initialized time mapping when not present | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimal_control_program.py",
"new_path": "bioptim/optimization/optimal_control_program.py",
"diff": "@@ -425,6 +425,8 @@ class OptimalControlProgram:\n# Prepare the parameter mappings\nif parameter_mappings is None:\nparameter_mappings = B... | Python | MIT License | pyomeca/bioptim | initialized time mapping when not present |
538,855 | 06.10.2022 09:28:50 | 14,400 | 3f27dec2e4bd29f3cd6fdab38f0c28a8f6e88f14 | Fixed last tests | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/constraints.py",
"new_path": "bioptim/limits/constraints.py",
"diff": "@@ -11,7 +11,7 @@ from ..interfaces.biorbd_interface import BiorbdInterface\nfrom ..misc.enums import Node, InterpolationType, PenaltyType, ConstraintType\nfrom ..misc.fcn_en... | Python | MIT License | pyomeca/bioptim | Fixed last tests |
538,855 | 06.10.2022 10:41:59 | 14,400 | 20933d9deaccd9bfb2d130e203e5117252576aac | added tests for the new examples | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/torque_driven_ocp/multi_model_by_constraint.py",
"new_path": "bioptim/examples/torque_driven_ocp/multi_model_by_constraint.py",
"diff": "@@ -26,7 +26,7 @@ def prepare_ocp(\nbiorbd_model = (biorbd.Model(biorbd_model_path), biorbd.Model(biorbd_m... | Python | MIT License | pyomeca/bioptim | added tests for the new examples |
538,855 | 06.10.2022 11:48:20 | 14,400 | d428579c4f711ba221d6ac1a5a399768dbc9906a | added tests for uneven_variable_number | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/__main__.py",
"new_path": "bioptim/examples/__main__.py",
"diff": "@@ -112,6 +112,8 @@ examples_ = OrderedDict(\nOrderedDict(\n[\n(\"Maximize predicted height CoM\", \"maximize_predicted_height_CoM.py\"),\n+ (\"Multi model by constraint\", \"m... | Python | MIT License | pyomeca/bioptim | added tests for uneven_variable_number |
538,855 | 07.10.2022 11:57:27 | 14,400 | fc5ff818bb1887ca1b19c74d6f64a17ab4647f47 | small changes as requested | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/torque_driven_ocp/multi_model_by_constraint.py",
"new_path": "bioptim/examples/torque_driven_ocp/multi_model_by_constraint.py",
"diff": "@@ -21,12 +21,12 @@ from bioptim import (\ndef prepare_ocp(\nbiorbd_model_path: str = \"models/double_pend... | Python | MIT License | pyomeca/bioptim | small changes as requested |
538,855 | 07.10.2022 12:30:51 | 14,400 | 71c27fe55983fe89a32c3a0500f9c36c61e705cb | changed tests values since there was a problem before
unnecessary continuity constraints were added | [
{
"change_type": "MODIFY",
"old_path": "tests/test_global_torque_driven_ocp.py",
"new_path": "tests/test_global_torque_driven_ocp.py",
"diff": "@@ -504,29 +504,29 @@ def test_multi_model_by_mapping():\n# Check objective function value\nf = np.array(sol.cost)\nnp.testing.assert_equal(f.shape, (1, 1))... | Python | MIT License | pyomeca/bioptim | changed tests values since there was a problem before
unnecessary continuity constraints were added |
538,855 | 07.10.2022 14:17:13 | 14,400 | f691b4693cf2b5c517cb094880c5808829eab072 | other changes as requested
specific test still pass | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/ipopt_interface.py",
"new_path": "bioptim/interfaces/ipopt_interface.py",
"diff": "@@ -169,10 +169,6 @@ class IpoptInterface(SolverInterface):\nstates_idx = nlp.use_states_from_phase_idx\ncontrols_idx = nlp.use_controls_from_phase_idx\nif _p... | Python | MIT License | pyomeca/bioptim | other changes as requested
specific test still pass |
538,855 | 07.10.2022 15:24:18 | 14,400 | 8337c1a4b346aa852cc456b1b752f93133cb67fe | smooth revert and make it work | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/ipopt_interface.py",
"new_path": "bioptim/interfaces/ipopt_interface.py",
"diff": "@@ -165,52 +165,47 @@ class IpoptInterface(SolverInterface):\nreturn target_out\ndef get_x_and_u_at_idx(_penalty, _idx):\n- ocp = self.ocp\n- states_idx = nlp... | Python | MIT License | pyomeca/bioptim | smooth revert and make it work |
538,855 | 07.10.2022 15:59:43 | 14,400 | a0c803b5612237224ac8ed5b34d8d048e5f6b329 | finalized the revert + added title to graphs with phase # | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -888,11 +888,16 @@ class ConfigureProblem:\nif not axes_idx:\naxes_idx = Mapping(range(len(name_elements)))\n- legend = [\n- f\"{name}_{name_el}\"\n- for i... | Python | MIT License | pyomeca/bioptim | finalized the revert + added title to graphs with phase # |
538,855 | 07.10.2022 16:19:07 | 14,400 | 96bdfadbc72cf006f1f47268f248b1f541b55924 | added the function to chose if key -> "all" | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/multinode_constraint.py",
"new_path": "bioptim/limits/multinode_constraint.py",
"diff": "@@ -8,7 +8,7 @@ from .constraints import Constraint\nfrom .path_conditions import Bounds\nfrom .objective_functions import ObjectiveFunction\nfrom ..limits.... | Python | MIT License | pyomeca/bioptim | added the function to chose if key -> "all" |
538,855 | 07.10.2022 16:48:30 | 14,400 | 04611917dfdb529d3cc4e92008914b6b0598e550 | removed opposing sign option as it made no sense | [
{
"change_type": "MODIFY",
"old_path": "bioptim/misc/mapping.py",
"new_path": "bioptim/misc/mapping.py",
"diff": "@@ -296,8 +296,6 @@ class NodeMappingList(OptionDict):\nmap_controls: bool = False,\nphase_pre: int = None,\nphase_post: int = None,\n- oppose_to_second: Union[Node, int, list, tuple, ra... | Python | MIT License | pyomeca/bioptim | removed opposing sign option as it made no sense |
538,855 | 07.10.2022 16:49:04 | 14,400 | 9742621dc713de25b08ce14c55e43d0eb7a5d600 | added a check for same variable mappings when phases are mapped | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimal_control_program.py",
"new_path": "bioptim/optimization/optimal_control_program.py",
"diff": "@@ -447,7 +447,8 @@ class OptimalControlProgram:\n# Prepare the node mappings\nif node_mappings is None:\nnode_mappings = NodeMappingList(... | Python | MIT License | pyomeca/bioptim | added a check for same variable mappings when phases are mapped |
538,855 | 12.10.2022 17:54:09 | 14,400 | cb28eaecf57bee6d962688701931ca7a21d802e4 | fixed dynamics tests | [
{
"change_type": "MODIFY",
"old_path": "tests/test_dynamics.py",
"new_path": "tests/test_dynamics.py",
"diff": "@@ -39,7 +39,6 @@ def test_torque_driven(with_contact, with_external_force, cx, rigidbody_dynamics\n)\nnlp.ns = 5\nnlp.cx = cx\n- nlp.phase_idx = 0\nnlp.x_bounds = np.zeros((nlp.model.nbQ(... | Python | MIT License | pyomeca/bioptim | fixed dynamics tests |
538,855 | 13.10.2022 14:00:19 | 14,400 | 61ab174d28ec6d5efd39e5dfb34fd4fc3b6f6f51 | esthetic changes requested | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/constraints.py",
"new_path": "bioptim/limits/constraints.py",
"diff": "from typing import Callable, Union, Any\n-import biorbd_casadi as biorbd\nimport numpy as np\nfrom casadi import sum1, if_else, vertcat, lt, SX, MX\nimport biorbd_casadi as b... | Python | MIT License | pyomeca/bioptim | esthetic changes requested |
538,855 | 13.10.2022 16:31:33 | 14,400 | 8d1b720be59aae0d1a49743061a960190eafc340 | fixed a problem for multiple node mappings | [
{
"change_type": "MODIFY",
"old_path": "bioptim/misc/mapping.py",
"new_path": "bioptim/misc/mapping.py",
"diff": "@@ -332,12 +332,13 @@ class NodeMappingList(OptionDict):\nuse_states_dot_from_phase_idx = [i for i in range(ocp.n_phases)]\nuse_controls_from_phase_idx = [i for i in range(ocp.n_phases)]... | Python | MIT License | pyomeca/bioptim | fixed a problem for multiple node mappings |
538,855 | 19.10.2022 17:02:34 | 14,400 | f85255510ba05978dfdc059b1c85345692ba38b4 | added an example of how to use multi-start | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "bioptim/examples/getting_started/example_multistart.py",
"diff": "+\"\"\"\n+An example of how to use multi-start to find local minima from different initial guesses.\n+This example is a variation of the pendulum example in getting_started/pendul... | Python | MIT License | pyomeca/bioptim | added an example of how to use multi-start |
538,855 | 19.10.2022 17:06:19 | 14,400 | b7ef059ffa45139f0600dc5e84a1c5ca3c852efa | added the multi-start module | [
{
"change_type": "MODIFY",
"old_path": "bioptim/__init__.py",
"new_path": "bioptim/__init__.py",
"diff": "@@ -200,6 +200,7 @@ from .misc.enums import (\nDefectType,\n)\nfrom .misc.mapping import BiMappingList, BiMapping, Mapping\n+from .optimization.multi_start import MultiStart\nfrom .optimization.... | Python | MIT License | pyomeca/bioptim | added the multi-start module |
538,855 | 19.10.2022 17:26:11 | 14,400 | 873a6de2b6b6140d3812c0b35f4de6376994ce2f | added warning in comments since I cannot chaek it | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_multistart.py",
"new_path": "bioptim/examples/getting_started/example_multistart.py",
"diff": "@@ -28,7 +28,7 @@ def prepare_ocp(\nn_shooting: int,\node_solver: OdeSolver = OdeSolver.RK4(),\nuse_sx: bool = True,\n- n_th... | Python | MIT License | pyomeca/bioptim | added warning in comments since I cannot chaek it |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.