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,855 | 20.10.2022 13:57:48 | 14,400 | c1885a07dd59d8c580638323a51bee65cb9f1120 | Tryied to improve readme | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -372,8 +372,11 @@ And that is all!\nYou have completed your first optimal control program with `bioptim`!\n## Solving using multi-start\n-To find local minima, it is usefull to proceed through multi-starting the... | Python | MIT License | pyomeca/bioptim | Tryied to improve readme |
538,855 | 21.10.2022 16:17:11 | 14,400 | 4ee7ba64c082339644f9467afa36f82970b749e6 | requested changes
small steps | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_multistart.py",
"new_path": "bioptim/examples/getting_started/example_multistart.py",
"diff": "@@ -85,14 +85,16 @@ def prepare_ocp(\nu_bounds = Bounds([tau_min] * n_tau, [tau_max] * n_tau)\nu_bounds[1, :] = 0 # Prevent ... | Python | MIT License | pyomeca/bioptim | requested changes
small steps |
538,855 | 21.10.2022 17:17:38 | 14,400 | c0147b22f656364a6a02fbf91429177af5635524 | I think we are good :) | [
{
"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/examples/getting_started/pendulum_multi_start_random_states_0.pkl\n"
},
{
"change_type": "MODIFY",
"old_path"... | Python | MIT License | pyomeca/bioptim | I think we are good :) |
538,855 | 21.10.2022 17:26:15 | 14,400 | 65ccd5a80ff78ece66f55980bd50f6ce1523ded3 | addapted test + blacked | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -112,3 +112,5 @@ c_generated_code\n*.gv.pdf\nbioptim/examples/getting_started/pendulum_multi_start_random_states_0.pkl\n+\n+*.pkl\n"
},
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/gett... | Python | MIT License | pyomeca/bioptim | addapted test + blacked |
538,855 | 27.10.2022 14:33:49 | 14,400 | ff72b5023d26a32006103e76c01b60046146cabf | post_optim_callback name | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_multistart.py",
"new_path": "bioptim/examples/getting_started/example_multistart.py",
"diff": "@@ -140,7 +140,7 @@ def prepare_multi_start(biorbd_model_path: list, final_time: list, n_shooting: l\nreturn MultiStart(\npr... | Python | MIT License | pyomeca/bioptim | post_optim_callback name |
538,855 | 28.10.2022 08:41:55 | 14,400 | 32473c61ce4e254c23c57d422e2a5734867da71c | first commit for remote work | [
{
"change_type": "MODIFY",
"old_path": "bioptim/__init__.py",
"new_path": "bioptim/__init__.py",
"diff": "@@ -210,6 +210,6 @@ from .optimization.receding_horizon_optimization import (\n)\nfrom .optimization.parameters import ParameterList\nfrom .optimization.solution import Solution\n-from .optimiza... | Python | MIT License | pyomeca/bioptim | first commit for remote work |
538,867 | 28.10.2022 11:07:11 | 14,400 | 52ddc3b7ba1894af8eea6e61d54523197b670250 | path_conditions and enums update | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -10,6 +10,7 @@ from ..misc.enums import InterpolationType, MagnitudeType\nfrom ..misc.mapping import BiMapping, BiMappingList\nfrom ..misc.options import UniquePer... | Python | MIT License | pyomeca/bioptim | path_conditions and enums update |
538,867 | 28.10.2022 11:08:07 | 14,400 | 9834cf54abd2453773174a8b3c4fb3fdf353cd71 | test_update_bounds_and_limits corrections | [
{
"change_type": "MODIFY",
"old_path": "tests/test_update_bounds_and_init.py",
"new_path": "tests/test_update_bounds_and_init.py",
"diff": "@@ -2,6 +2,7 @@ import pytest\nimport numpy as np\nimport biorbd_casadi as biorbd\nfrom casadi import MX\n+from bioptim.misc.enums import MagnitudeType\nfrom bi... | Python | MIT License | pyomeca/bioptim | test_update_bounds_and_limits corrections |
538,842 | 28.10.2022 14:21:01 | 14,400 | 9a8a1b995b33a057c32c7518a0ffa5cbb921e94f | fixing already existing tests | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/muscle_driven_ocp/muscle_excitations_tracker.py",
"new_path": "bioptim/examples/muscle_driven_ocp/muscle_excitations_tracker.py",
"diff": "@@ -58,6 +58,7 @@ def generate_data(\n# Aliases\nn_q = biorbd_model.nbQ()\nn_qdot = biorbd_model.nbQdot(... | Python | MIT License | pyomeca/bioptim | fixing already existing tests |
538,842 | 28.10.2022 14:21:13 | 14,400 | 62b6efe77cb42b042e6cb473405a00c19e626645 | new test to test the implicit defect | [
{
"change_type": "MODIFY",
"old_path": "tests/test_global_muscle_driven_ocp.py",
"new_path": "tests/test_global_muscle_driven_ocp.py",
"diff": "@@ -5,7 +5,7 @@ import os\nimport pytest\nimport numpy as np\n-from bioptim import OdeSolver, Solver\n+from bioptim import OdeSolver, Solver, DefectType\nfr... | Python | MIT License | pyomeca/bioptim | new test to test the implicit defect |
538,842 | 28.10.2022 16:08:44 | 14,400 | 6731da71b9c9e8f63fddd8d260a88e68f50441e5 | fixing some dynamics - tests ok | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/dynamics_functions.py",
"new_path": "bioptim/dynamics/dynamics_functions.py",
"diff": "@@ -712,10 +712,14 @@ class DynamicsFunctions:\nTorques in tau\n\"\"\"\n- tau_var = nlp.states[\"tau\"] if \"tau\" in nlp.states else nlp.controls[\"tau\"]\... | Python | MIT License | pyomeca/bioptim | fixing some dynamics - tests ok |
538,842 | 28.10.2022 17:14:19 | 14,400 | 59829af823bdf6580cdfed3dc07207ee1a6b2cec | skip fatiguable tests | [
{
"change_type": "MODIFY",
"old_path": "tests/test_global_fatigue.py",
"new_path": "tests/test_global_fatigue.py",
"diff": "@@ -2,7 +2,7 @@ import platform\nimport os\nimport numpy as np\n-from bioptim import OdeSolver\n+from bioptim import OdeSolver, Solver\nfrom .utils import TestUtils\n@@ -170,55... | Python | MIT License | pyomeca/bioptim | skip fatiguable tests |
538,855 | 31.10.2022 15:31:26 | 14,400 | 0a41d13605e5910317e6293a4808d902261a6cfb | dealt with bounds and init | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -420,7 +420,7 @@ class Bounds(OptionGeneric):\nself.extra_params = self.min.extra_params\nself.n_shooting = self.min.n_shooting\n- def scale(self, scaling: Union[f... | Python | MIT License | pyomeca/bioptim | dealt with bounds and init |
538,855 | 31.10.2022 15:57:33 | 14,400 | 513d4f718c1f266eb463676eabf8a22dd617ba87 | renamed the variables to make sure we do not make mistakes | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/dynamics_functions.py",
"new_path": "bioptim/dynamics/dynamics_functions.py",
"diff": "@@ -108,8 +108,8 @@ class DynamicsFunctions:\n\"\"\"\nDynamicsFunctions.apply_parameters(parameters, nlp)\n- q = DynamicsFunctions.get(nlp.states[\"q\"], st... | Python | MIT License | pyomeca/bioptim | renamed the variables to make sure we do not make mistakes |
538,867 | 31.10.2022 16:48:55 | 14,400 | ac6e6f0f8ff48cd6a4c43f6be0aa6c136bea5ca2 | Patch for tests and getting started file | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/custom_initial_guess.py",
"new_path": "bioptim/examples/getting_started/custom_initial_guess.py",
"diff": "@@ -17,6 +17,7 @@ InterpolationType.CUSTOM: Provide a user-defined interpolation function\nfrom typing import Union\nimp... | Python | MIT License | pyomeca/bioptim | Patch for tests and getting started file |
538,867 | 31.10.2022 16:51:39 | 14,400 | 9ad51b879a83625acc51bacdf1b0305c1dd552b8 | fixing ErrorValue messages and details | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -1107,7 +1107,7 @@ class InitialGuessList(UniquePerPhaseOptionList):\nraise ValueError(\"bounds must be specified to generate noised initial guess\")\nif len(bound... | Python | MIT License | pyomeca/bioptim | fixing ErrorValue messages and details |
538,855 | 31.10.2022 17:04:14 | 14,400 | 910d3a13cd1c5a55eab6f11be2f0e5124230e476 | made more name changes | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -112,25 +112,25 @@ class ConfigureProblem:\nnew_name += [nlp.model.nameDof()[i].to_string()]\nelse:\nif nlp.model.nameDof()[i].to_string()[-5:] != \"QuatW\... | Python | MIT License | pyomeca/bioptim | made more name changes |
538,855 | 31.10.2022 18:44:40 | 14,400 | c5d685cab7a24a8f2096794a6e040c4d6d9c537e | updated keys names again | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/penalty.py",
"new_path": "bioptim/limits/penalty.py",
"diff": "@@ -63,10 +63,11 @@ class PenaltyFunctionAbstract:\npenalty.add_target_to_plot(all_pn=all_pn, combine_to=f\"{key}_states\")\npenalty.multi_thread = True if penalty.multi_thread is No... | Python | MIT License | pyomeca/bioptim | updated keys names again |
538,855 | 31.10.2022 18:45:17 | 14,400 | 0baab03b52635b84afaf5b83010167e46cebbc6b | suggestion of how to call penalties | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/penalty.py",
"new_path": "bioptim/limits/penalty.py",
"diff": "@@ -3,7 +3,7 @@ from math import inf\nimport inspect\nimport biorbd_casadi as biorbd\n-from casadi import horzcat, vertcat, SX, Function\n+from casadi import horzcat, vertcat, MX, SX... | Python | MIT License | pyomeca/bioptim | suggestion of how to call penalties |
538,855 | 31.10.2022 18:45:33 | 14,400 | 45f70fc5af242fd168aab89d388a7cb3aa91e159 | questions + suggestions | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -211,6 +211,7 @@ class ConfigureProblem:\n)\n# Declared rigidbody states and controls\n+ ##### key_to_index ??? so that I can get the index of the state in... | Python | MIT License | pyomeca/bioptim | questions + suggestions |
538,855 | 31.10.2022 18:45:44 | 14,400 | 459a9e4c7a5ee4dec950e16899577fb519c8fcce | name update again | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimization_vector.py",
"new_path": "bioptim/optimization/optimization_vector.py",
"diff": "@@ -303,18 +303,18 @@ class OptimizationVector:\nif k != nlp.ns and nlp.ode_solver.is_direct_collocation:\nx.append(\nnlp.cx.sym(\n- \"X_\" + str(... | Python | MIT License | pyomeca/bioptim | name update again |
538,867 | 01.11.2022 09:06:05 | 14,400 | f8cab11bc921e3b89d2650f5d3f51200f40937c0 | patched ValueError message | [
{
"change_type": "MODIFY",
"old_path": "tests/test_multiphase_noised_initial_guess.py",
"new_path": "tests/test_multiphase_noised_initial_guess.py",
"diff": "@@ -830,7 +830,7 @@ def test_add_wrong_bound_push(bound_push, raised_str):\n\"seed, raised_str\",\n[\n(0.1, \"Seed must be an integer or a lis... | Python | MIT License | pyomeca/bioptim | patched ValueError message |
538,867 | 01.11.2022 14:04:24 | 14,400 | 2555ec9b0bdbf5ee854e437aab8eb3393f76b7fc | n_shooting updated
from n_shooting (states) and n_shooting - 1 (controles) to n_shooting +1(states_ and n_shooting (controles) in path_conditions, examples and tests | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/custom_initial_guess.py",
"new_path": "bioptim/examples/getting_started/custom_initial_guess.py",
"diff": "@@ -163,7 +163,7 @@ def prepare_ocp(\nbounds=x_bounds,\nmagnitude=1,\nmagnitude_type=MagnitudeType.RELATIVE,\n- n_shooti... | Python | MIT License | pyomeca/bioptim | n_shooting updated
from n_shooting (states) and n_shooting - 1 (controles) to n_shooting +1(states_ and n_shooting (controles) in path_conditions, examples and tests |
538,867 | 01.11.2022 14:13:26 | 14,400 | a479d8892a6047021bb815526bd44e5ef9730723 | n_shooting corrections in test_multiphased_noised_initial_guess | [
{
"change_type": "MODIFY",
"old_path": "tests/test_multiphase_noised_initial_guess.py",
"new_path": "tests/test_multiphase_noised_initial_guess.py",
"diff": "@@ -63,7 +63,7 @@ def test_noisy_multiphase():\nx_init.add_noise(\nbounds=x_bounds,\nmagnitude=0.1, # n phase\n- n_shooting=[ns for ns in n_sh... | Python | MIT License | pyomeca/bioptim | n_shooting corrections in test_multiphased_noised_initial_guess |
538,867 | 01.11.2022 14:40:31 | 14,400 | 5d398d0d6fa22b6b8d8e9eca466e1c1fdb653961 | Variable noise_magnitude name change | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -923,7 +923,7 @@ class NoisedInitialGuess(InitialGuess):\nself.seed = seed\n- self._check_noise_magnitude(magnitude)\n+ self._check_magnitude(magnitude)\nself.nois... | Python | MIT License | pyomeca/bioptim | Variable noise_magnitude name change |
538,867 | 01.11.2022 14:48:06 | 14,400 | 21e7b3bb1bf10c4eeb31c6f7b6b0ceabd26438ce | [WIP] add of add_noise function in InitialGuess class | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -836,6 +836,50 @@ class InitialGuess(OptionGeneric):\nself.init[_slice] = value\n+ def add_noise(\n+ self,\n+ bounds: Union[Bounds, BoundsList, QAndQDotBounds] = N... | Python | MIT License | pyomeca/bioptim | [WIP] add of add_noise function in InitialGuess class |
538,855 | 01.11.2022 16:58:54 | 14,400 | c8631bbb41ff93116e6e73cf1b1e82beb02b5f6c | finish install SQP method | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/run_tests.yml",
"new_path": ".github/workflows/run_tests.yml",
"diff": "@@ -55,6 +55,9 @@ jobs:\ncd ..\nif: matrix.label == 'osx-64'\n+ - name: Change casadi_path to find QPOASES\n+ run: export CASADIPATH=${matrix.prefix}/lib/:$CASADIPATH\n+\... | Python | MIT License | pyomeca/bioptim | finish install SQP method |
538,855 | 02.11.2022 11:50:02 | 14,400 | 43834c2dee3a4e8f095c84048b3f06c0b87a065e | fixed Rotation test but I did not play with that :/ | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/penalty.py",
"new_path": "bioptim/limits/penalty.py",
"diff": "@@ -600,7 +600,7 @@ class PenaltyFunctionAbstract:\nr_seg = nlp.model.globalJCS(nlp.states[\"q\"].mx, segment_index).rot()\nr_rt = nlp.model.RT(nlp.states[\"q\"].mx, rt).rot()\n- ang... | Python | MIT License | pyomeca/bioptim | fixed Rotation test but I did not play with that :/ |
538,855 | 02.11.2022 11:52:26 | 14,400 | 8136cc59f839fc983fde09ef193aea647b062ec9 | same for quaternions | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/torque_driven_ocp/trampo_quaternions.py",
"new_path": "bioptim/examples/torque_driven_ocp/trampo_quaternions.py",
"diff": "@@ -38,7 +38,7 @@ def eul2quat(eul: np.ndarray) -> np.ndarray:\nThe quaternion associated to the Euler angles in the for... | Python | MIT License | pyomeca/bioptim | same for quaternions |
538,855 | 02.11.2022 12:24:27 | 14,400 | 22b2dfe6ccdd0fc2adacd4f1145100bbe0a5d6b1 | fixed fatigue tests | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -758,7 +758,7 @@ class ConfigureProblem:\nfor p, params in enumerate(fatigue_suffix):\nname_tp = f\"{var_names_with_suffix[-1]}_{params}\"\n- ConfigureProb... | Python | MIT License | pyomeca/bioptim | fixed fatigue tests |
538,855 | 02.11.2022 16:14:13 | 14,400 | 9ef7151e591a3e9254b339540b949dd680416ea7 | modified tests that were my "earlier" bad | [
{
"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, Defe... | Python | MIT License | pyomeca/bioptim | modified tests that were my "earlier" bad |
538,867 | 02.11.2022 16:52:06 | 14,400 | 5854e94a7147f3515d22224247c413a2da067de9 | Updates following online review
import moved in init and updates linked to this, patch multistart example | [
{
"change_type": "MODIFY",
"old_path": "bioptim/__init__.py",
"new_path": "bioptim/__init__.py",
"diff": "@@ -198,6 +198,7 @@ from .misc.enums import (\nRigidBodyDynamics,\nSoftContactDynamics,\nDefectType,\n+ MagnitudeType,\n)\nfrom .misc.mapping import BiMappingList, BiMapping, Mapping\nfrom .opti... | Python | MIT License | pyomeca/bioptim | Updates following online review
import moved in init and updates linked to this, patch multistart example |
538,855 | 02.11.2022 16:58:56 | 14,400 | 14d68cb5b4ca375427d66bf326fda423af15ff89 | used the new noised_initial_guess | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_multistart.py",
"new_path": "bioptim/examples/getting_started/example_multistart.py",
"diff": "@@ -71,8 +71,8 @@ def prepare_ocp(\n[0] * (n_q + n_qdot),\ninterpolation=InterpolationType.CONSTANT,\nbounds=x_bounds,\n- no... | Python | MIT License | pyomeca/bioptim | used the new noised_initial_guess |
538,855 | 02.11.2022 16:59:22 | 14,400 | 8e30f132e9b723f3a97f6b43c28f8d2ccfe91cc0 | changed values with the new smaller noise added | [
{
"change_type": "MODIFY",
"old_path": "tests/test_global_getting_started.py",
"new_path": "tests/test_global_getting_started.py",
"diff": "@@ -1157,46 +1157,46 @@ def test_multistart():\nwith open(\"pendulum_multi_start_random_states_10_1.pkl\", \"rb\") as file:\nmulti_start_3 = pickle.load(file)\n... | Python | MIT License | pyomeca/bioptim | changed values with the new smaller noise added |
538,855 | 03.11.2022 10:18:41 | 14,400 | 629a36ea7c341eba17cbfe5afdef849467bd53e5 | works with if seed is not None | [
{
"change_type": "MODIFY",
"old_path": "tests/test_global_getting_started.py",
"new_path": "tests/test_global_getting_started.py",
"diff": "@@ -1159,132 +1159,56 @@ def test_multistart():\nnp.testing.assert_almost_equal(\nmulti_start_0,\n- np.array(\n- [\n- [0.0, -0.9, -0.9, 2.28173011, -0.9, 0.0],\... | Python | MIT License | pyomeca/bioptim | works with if seed is not None |
538,867 | 03.11.2022 10:34:53 | 14,400 | de8981dd131715b5c6949274f1fc734455c7234b | parameters removal | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -844,7 +844,6 @@ class InitialGuess(OptionGeneric):\nn_shooting: int = None,\nbound_push: Union[list, int, float] = 0.1,\nseed: int = None,\n- **parameters: Any,\n... | Python | MIT License | pyomeca/bioptim | parameters removal |
538,867 | 03.11.2022 10:36:44 | 14,400 | 40e733bfb3c52264e2f3f5b705af5b021b21d81b | Minor patch on seed in _create_noise_matrix | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -1042,7 +1042,7 @@ class NoisedInitialGuess(InitialGuess):\nbounds_min_matrix[:, shooting_point] = self.bounds.min.evaluate_at(shooting_point)\nbounds_max_matrix[:... | Python | MIT License | pyomeca/bioptim | Minor patch on seed in _create_noise_matrix |
538,855 | 03.11.2022 10:47:49 | 14,400 | 9ea8dbbb7e557a1e4db803a06f3a9ec952b822b3 | ajusted decimal since it did not pass on github | [
{
"change_type": "MODIFY",
"old_path": "tests/test_global_torque_driven_ocp.py",
"new_path": "tests/test_global_torque_driven_ocp.py",
"diff": "@@ -611,18 +611,18 @@ def test_multi_model_by_mapping():\nstates, controls, states_no_intermediate = sol.states, sol.controls, sol.states_no_intermediate\n#... | Python | MIT License | pyomeca/bioptim | ajusted decimal since it did not pass on github |
538,867 | 03.11.2022 12:07:45 | 14,400 | 7ae6bef8845fd8f5f544ae06033c707b33996dd1 | patched example_multistart | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_multistart.py",
"new_path": "bioptim/examples/getting_started/example_multistart.py",
"diff": "@@ -72,7 +72,7 @@ def prepare_ocp(\nx_init = x_init.add_noise(\nbounds=x_bounds,\nmagnitude=0.5,\n- MagnitudeType=MagnitudeT... | Python | MIT License | pyomeca/bioptim | patched example_multistart |
538,848 | 03.11.2022 15:19:37 | 14,400 | 7d3913925f3830a091c0046bb2477b6568c1cb65 | Removed useless add | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/run_tests.yml",
"new_path": ".github/workflows/run_tests.yml",
"diff": "@@ -55,9 +55,6 @@ jobs:\ncd ..\nif: matrix.label == 'osx-64'\n- - name: Change casadi_path to find QPOASES\n- run: export CASADIPATH=${{matrix.prefix}}/lib/:$CASADIPATH\n... | Python | MIT License | pyomeca/bioptim | Removed useless add |
538,867 | 03.11.2022 15:39:06 | 14,400 | 087572c537669568748ae65ce3d67cec6245a8ee | Update after online review | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -882,12 +882,11 @@ Finally, the `concatenate(another_initial_guess: InitialGuess)` method can be ca\nIf someone wants to add noise to the initial guess, you can provide the following:\n```python\ninit = init.add... | Python | MIT License | pyomeca/bioptim | Update after online review |
538,867 | 03.11.2022 15:46:39 | 14,400 | ab4336b8cf8c7e8849ebf0878707239ec4d9450a | fixed parameters in add_noise | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -876,6 +876,7 @@ class InitialGuess(OptionGeneric):\nseed=seed,\nmagnitude=magnitude,\nmagnitude_type=magnitude_type,\n+ **self.params,\n)\n@@ -1051,7 +1052,7 @@ c... | Python | MIT License | pyomeca/bioptim | fixed parameters in add_noise |
538,855 | 03.11.2022 17:36:24 | 14,400 | a750d82dca2cdfda52d4b311ca8c989b6920d2af | changed how to call VariableScaling | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_variable_scaling.py",
"new_path": "bioptim/examples/getting_started/example_variable_scaling.py",
"diff": "@@ -82,8 +82,9 @@ def prepare_ocp(\nu_init = InitialGuess([tau_init] * n_tau)\n# Variable scaling\n- x_scaling =... | Python | MIT License | pyomeca/bioptim | changed how to call VariableScaling |
538,855 | 03.11.2022 17:39:31 | 14,400 | c1cfc8352dc3ca75878c9711c73b3b4b71273dca | dynamics + integrator variable choices | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/integrator.py",
"new_path": "bioptim/dynamics/integrator.py",
"diff": "@@ -70,8 +70,10 @@ class Integrator:\nself.t_span = ode_opt[\"t0\"], ode_opt[\"tf\"]\nself.idx = ode_opt[\"idx\"]\nself.cx = ode_opt[\"cx\"]\n- self.x_sym = ode[\"x\"]\n- s... | Python | MIT License | pyomeca/bioptim | dynamics + integrator variable choices |
538,855 | 03.11.2022 18:10:02 | 14,400 | 389835c970ef30577cc5d736569c45111ca4ed9d | for remote work on solution output unscaled | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimization_vector.py",
"new_path": "bioptim/optimization/optimization_vector.py",
"diff": "@@ -256,7 +256,7 @@ class OptimizationVector:\nx_array = v_array[offset : offset + self.n_phase_x[p]].reshape((ocp.nlp[p].states[\"scaled\"].shape... | Python | MIT License | pyomeca/bioptim | for remote work on solution output unscaled |
538,855 | 04.11.2022 09:40:28 | 14,400 | 660781fef0384c3ebe97972cc8172719fb4bf12c | solution output scaled and unscaled variables | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -211,7 +211,6 @@ class ConfigureProblem:\n)\n# Declared rigidbody states and controls\n- ##### key_to_index ??? so that I can get the index of the state in... | Python | MIT License | pyomeca/bioptim | solution output scaled and unscaled variables |
538,855 | 04.11.2022 10:13:29 | 14,400 | 2d810ce8b72dda984226f3e3e68453849bed861a | matched the state structure in ocp | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -65,14 +65,10 @@ class Solution:\nThe number of iterations that were required to solve the program\nstatus: int\nOptimization success status (Ipopt: 0=Succeeded, 1=F... | Python | MIT License | pyomeca/bioptim | matched the state structure in ocp |
538,855 | 04.11.2022 11:29:13 | 14,400 | 47fffcf3dcc9823f351dd5f34563b2535ac71205 | made plot and graphs pass | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/graph.py",
"new_path": "bioptim/gui/graph.py",
"diff": "@@ -328,8 +328,8 @@ class OcpToConsole(GraphAbstract):\nphase_idx,\nself.ocp.nlp[phase_idx].x_bounds,\n[\n- self.ocp.nlp[phase_idx].states.cx[i].name()\n- for i in range(self.ocp.nlp[phase_idx... | Python | MIT License | pyomeca/bioptim | made plot and graphs pass |
538,867 | 04.11.2022 16:00:59 | 14,400 | 8fbd14e264d9bdbeb5dbf2889fd0c6ed0f600f31 | Patched print | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/custom_initial_guess.py",
"new_path": "bioptim/examples/getting_started/custom_initial_guess.py",
"diff": "@@ -208,7 +208,7 @@ def main():\nraise ValueError(message)\nsol = ocp.solve()\n- print(\"/n\")\n+ print(\"\\n\")\n# Prin... | Python | MIT License | pyomeca/bioptim | Patched print |
538,855 | 07.11.2022 11:45:45 | 18,000 | 93ea844f352d5c40f78da3220dfafbf3de7816ff | removed test values as requested | [
{
"change_type": "MODIFY",
"old_path": "tests/test_global_torque_driven_ocp.py",
"new_path": "tests/test_global_torque_driven_ocp.py",
"diff": "@@ -495,34 +495,12 @@ def test_phase_transition_uneven_variable_number_by_bounds():\n# Check objective function value\nf = np.array(sol.cost)\nnp.testing.as... | Python | MIT License | pyomeca/bioptim | removed test values as requested |
538,855 | 07.11.2022 11:54:43 | 18,000 | 918c95c2f384554a378fe0a4f3fc5f9a1c2cc0fd | updated numbers folowing rapidnico's accepted PR | [
{
"change_type": "MODIFY",
"old_path": "tests/test_global_getting_started.py",
"new_path": "tests/test_global_getting_started.py",
"diff": "@@ -1161,10 +1161,10 @@ def test_multistart():\nmulti_start_0,\nnp.array(\n[\n- [0.0, 2.5822724, 1.23316051, 0.5385982, -0.91614241, 0.0],\n- [0.0, 6.18318531, ... | Python | MIT License | pyomeca/bioptim | updated numbers folowing rapidnico's accepted PR |
538,860 | 07.11.2022 16:09:46 | 18,000 | 10ab1b21119a1d79747e6c915a8ab73b2ae42919 | modified check conditioning | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimal_control_program.py",
"new_path": "bioptim/optimization/optimal_control_program.py",
"diff": "@@ -8,7 +8,7 @@ from math import inf\nimport numpy as np\nimport biorbd_casadi as biorbd\nimport casadi\n-from casadi import MX, SX, Funct... | Python | MIT License | pyomeca/bioptim | modified check conditioning |
538,855 | 07.11.2022 16:27:29 | 18,000 | 856cc2772f94b042d3602e004f50db14d5f9b958 | switched to OptioDict (made more sense when not declared) | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -846,14 +846,14 @@ class ConfigureProblem:\nnlp.variable_mappings[name] = BiMapping(range(len(name_elements)), range(len(name_elements)))\nif as_states:\n-... | Python | MIT License | pyomeca/bioptim | switched to OptioDict (made more sense when not declared) |
538,855 | 07.11.2022 16:50:41 | 18,000 | 4700c94a058f811fd47d4edf7556eceecd5de483 | fised problems with empty initialization | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -847,13 +847,13 @@ class ConfigureProblem:\nif as_states:\nif name not in nlp.x_scaling:\n- nlp.x_scaling[name].scaling = np.ones(len(name_elements))\n+ nl... | Python | MIT License | pyomeca/bioptim | fised problems with empty initialization |
538,854 | 08.11.2022 11:40:06 | 3,600 | 29a567ac14a242b5fa056aa7562a9a33f45650c3 | fix target shape with multi threads | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/interface_utils.py",
"new_path": "bioptim/interfaces/interface_utils.py",
"diff": "@@ -251,7 +251,7 @@ def generic_get_all_penalties(interface, nlp: NonLinearProgram, penalties):\nif penalty.multi_thread:\nif penalty.target is not None and l... | Python | MIT License | pyomeca/bioptim | fix target shape with multi threads |
538,854 | 08.11.2022 12:25:36 | 3,600 | e3023ebf01c4e02b14048bfc30973e22c6e5b470 | add test multi threads target | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/muscle_driven_ocp/muscle_activations_tracker.py",
"new_path": "bioptim/examples/muscle_driven_ocp/muscle_activations_tracker.py",
"diff": "@@ -153,6 +153,7 @@ def prepare_ocp(\nkin_data_to_track: str = \"markers\",\nuse_residual_torque: bool =... | Python | MIT License | pyomeca/bioptim | add test multi threads target |
538,860 | 08.11.2022 11:05:02 | 18,000 | a1f371ded8c2fde6242f62bb84fb82f9c95659d9 | Add check conditioning to example pendulum | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/pendulum.py",
"new_path": "bioptim/examples/getting_started/pendulum.py",
"diff": "@@ -10,6 +10,10 @@ appreciate it). Finally, once it finished optimizing, it animates the model usin\n\"\"\"\nimport biorbd_casadi as biorbd\n+\n... | Python | MIT License | pyomeca/bioptim | Add check conditioning to example pendulum |
538,855 | 08.11.2022 11:25:10 | 18,000 | c940c7d0278817ff8117b30d583afd63e73e4973 | reverted changes (unscaled <-> scaled) | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -112,25 +112,25 @@ class ConfigureProblem:\nnew_name += [nlp.model.nameDof()[i].to_string()]\nelse:\nif nlp.model.nameDof()[i].to_string()[-5:] != \"QuatW\... | Python | MIT License | pyomeca/bioptim | reverted changes (unscaled <-> scaled) |
538,860 | 08.11.2022 12:13:49 | 18,000 | 1e2c8c86e27e6000737e4233270b3178a031a34e | add checking the ocp | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -326,6 +326,24 @@ ocp = OptimalControlProgram(\nobjective_functions=objective_functions,\n)\n```\n+## Checking the ocp\n+Now you can check if the ocp is well defined for the initial values.\n+This checking will ... | Python | MIT License | pyomeca/bioptim | add checking the ocp |
538,860 | 08.11.2022 12:14:09 | 18,000 | fc62f8fc599c3dbffd3d96f0b6c5025b8fe7e41d | add test check conditioning | [
{
"change_type": "MODIFY",
"old_path": "tests/test__global_plots.py",
"new_path": "tests/test__global_plots.py",
"diff": "@@ -32,6 +32,21 @@ def test_plot_graphs_one_phase():\nsol = ocp.solve()\nsol.graphs(automatically_organize=False)\n+def test_plot_Check_Contioning():\n+ # Load graphs check condi... | Python | MIT License | pyomeca/bioptim | add test check conditioning |
538,855 | 09.11.2022 14:09:46 | 18,000 | ed66775f6133714e074ec481847d651d6bad981a | updated tests values | [
{
"change_type": "MODIFY",
"old_path": "tests/test_global_getting_started.py",
"new_path": "tests/test_global_getting_started.py",
"diff": "@@ -1144,15 +1144,15 @@ def test_multistart():\nbiorbd_model_path=[bioptim_folder + \"/models/pendulum.bioMod\"],\nfinal_time=[1],\nn_shooting=[5, 10],\n- seed=... | Python | MIT License | pyomeca/bioptim | updated tests values |
538,855 | 10.11.2022 11:02:00 | 18,000 | d4c3f6f3b64c760d5140a39cf039649995765edd | adjusted test precision | [
{
"change_type": "MODIFY",
"old_path": "tests/test_global_torque_driven_ocp.py",
"new_path": "tests/test_global_torque_driven_ocp.py",
"diff": "@@ -475,7 +475,7 @@ def test_trampo_quaternions():\ndef test_phase_transition_uneven_variable_number_by_bounds():\n- # Load multi_model_by_mapping\n+ # Load... | Python | MIT License | pyomeca/bioptim | adjusted test precision |
538,855 | 10.11.2022 12:07:50 | 18,000 | aba443975e4710447c871cbcc1fbfedb605cbbc1 | name changes for clarity (can be reverted) | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/interface_utils.py",
"new_path": "bioptim/interfaces/interface_utils.py",
"diff": "@@ -206,36 +206,36 @@ def generic_get_all_penalties(interface, nlp: NonLinearProgram, penalties):\ndef get_x_and_u_at_idx(_penalty, _idx):\nif _penalty.transi... | Python | MIT License | pyomeca/bioptim | name changes for clarity (can be reverted) |
538,855 | 10.11.2022 15:03:45 | 18,000 | 4aa6807f7617318896e2d14d407d2ad1b8068ccd | This is cheating but works (from Pariterre) | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/dynamics_functions.py",
"new_path": "bioptim/dynamics/dynamics_functions.py",
"diff": "@@ -107,9 +107,11 @@ class DynamicsFunctions:\nThe derivative of the states and the defects of the implicit dynamics\n\"\"\"\n- DynamicsFunctions.apply_para... | Python | MIT License | pyomeca/bioptim | This is cheating but works (from Pariterre) |
538,860 | 10.11.2022 15:31:08 | 18,000 | d776d8a05f8635b232d69718b6f56325fdeab897 | back to the original | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_multiphase_checkconditioning.py",
"new_path": "bioptim/examples/getting_started/example_multiphase_checkconditioning.py",
"diff": "@@ -6,11 +6,7 @@ of the previous phase is the last shooting node (and not the node arriv... | Python | MIT License | pyomeca/bioptim | back to the original |
538,860 | 10.11.2022 15:32:56 | 18,000 | 03245fa3ef5b3e991a05cd98507c803fc8ab29ee | check conditioning commented | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/pendulum.py",
"new_path": "bioptim/examples/getting_started/pendulum.py",
"diff": "@@ -110,7 +110,7 @@ def main():\n# Custom plots\nocp.add_plot_penalty(CostType.ALL)\n- ocp.check_conditioning()\n+ # ocp.check_conditioning()\n#... | Python | MIT License | pyomeca/bioptim | check conditioning commented |
538,855 | 10.11.2022 16:58:58 | 18,000 | 236a805670a4a06e5e0109f83b98710ab6932b30 | fuxed graphs | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/graph.py",
"new_path": "bioptim/gui/graph.py",
"diff": "@@ -328,8 +328,8 @@ class OcpToConsole(GraphAbstract):\nphase_idx,\nself.ocp.nlp[phase_idx].x_bounds,\n[\n- self.ocp.nlp[phase_idx].states[\"scaled\"].cx[i].name()\n- for i in range(self.ocp.n... | Python | MIT License | pyomeca/bioptim | fuxed graphs |
538,855 | 10.11.2022 17:49:22 | 18,000 | aa0568e51b290154e185f2256ed52c5ee77ef5c5 | scaling of 1 works (crossing fingers!) | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/integrator.py",
"new_path": "bioptim/dynamics/integrator.py",
"diff": "@@ -71,9 +71,7 @@ class Integrator:\nself.idx = ode_opt[\"idx\"]\nself.cx = ode_opt[\"cx\"]\nself.x_sym = ode[\"x_scaled\"]\n- self.x_unscaled = ode[\"x_unscaled\"]\nself.u... | Python | MIT License | pyomeca/bioptim | scaling of 1 works (crossing fingers!) |
538,855 | 10.11.2022 18:10:08 | 18,000 | 2327e24bd63a61ed520f961cf058612212db264f | fixed values printed to the console | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -1349,17 +1349,17 @@ class Solution:\ntarget = []\nif nlp is not None:\nif penalty.transition:\n- phase_post = (phase_idx + 1) % len(self._states[\"unscaled\"])\n- x... | Python | MIT License | pyomeca/bioptim | fixed values printed to the console |
538,860 | 11.11.2022 10:41:20 | 18,000 | 9fd0c80d57ce4511f094e5177c3f883dfa70a51f | tests added and checked + blacked | [
{
"change_type": "MODIFY",
"old_path": "tests/test__global_plots.py",
"new_path": "tests/test__global_plots.py",
"diff": "@@ -32,18 +32,15 @@ def test_plot_graphs_one_phase():\nsol = ocp.solve()\nsol.graphs(automatically_organize=False)\n-def test_plot_Check_Contioning():\n+\n+def test_plot_check_co... | Python | MIT License | pyomeca/bioptim | tests added and checked + blacked |
538,855 | 14.11.2022 10:31:48 | 18,000 | 02f45b01d3bea3d438377461161d62427d4fa180 | I think I fixed the penalty plots | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimal_control_program.py",
"new_path": "bioptim/optimization/optimal_control_program.py",
"diff": "@@ -819,6 +819,11 @@ class OptimalControlProgram:\nelse []\n)\n+ x_scaling = np.vstack((self.nlp[penalty.phase].x_scaling['all'].scaling f... | Python | MIT License | pyomeca/bioptim | I think I fixed the penalty plots |
538,855 | 14.11.2022 17:09:50 | 18,000 | ffbfa406e252c30563c2af612e30c26094ad95b8 | aesthetic changes as requested | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/dynamics_functions.py",
"new_path": "bioptim/dynamics/dynamics_functions.py",
"diff": "@@ -107,13 +107,10 @@ class DynamicsFunctions:\nThe derivative of the states and the defects of the implicit dynamics\n\"\"\"\n- # DynamicsFunctions.apply_p... | Python | MIT License | pyomeca/bioptim | aesthetic changes as requested |
538,855 | 14.11.2022 17:23:29 | 18,000 | 60988c12c551d43a2935eb2f37ae68d28212deb0 | added _scaled everywhere | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -823,7 +823,7 @@ class ConfigureProblem:\nif combine_state_control_plot and combine_name is not None:\nraise ValueError(\"combine_name and combine_state_co... | Python | MIT License | pyomeca/bioptim | added _scaled everywhere |
538,855 | 14.11.2022 17:36:35 | 18,000 | 32d8761ce61f3fa0c437089f372c6601866c49fd | removed _unscaled | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -860,29 +860,29 @@ class ConfigureProblem:\nmx_states_scaled = []\nmx_states_dot_scaled = []\nmx_controls_scaled = []\n- mx_states_unscaled = []\n- mx_stat... | Python | MIT License | pyomeca/bioptim | removed _unscaled |
538,855 | 14.11.2022 20:09:28 | 18,000 | ab6adb67f79a0fc7abfb10105ff94a8fe5a36631 | fixed some tests (collocation) | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/dynamics_functions.py",
"new_path": "bioptim/dynamics/dynamics_functions.py",
"diff": "@@ -488,7 +488,7 @@ class DynamicsFunctions:\ndefects = None\n# TODO: contacts and fatigue to be handled with implicit dynamics\nif not with_contact and fat... | Python | MIT License | pyomeca/bioptim | fixed some tests (collocation) |
538,855 | 15.11.2022 15:20:46 | 18,000 | 4fe99a13b8fd26dbd37266c17d5a72b0dc0b8a17 | oupsi messed up name changes | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -897,7 +897,7 @@ class ConfigureProblem:\nn_cx = nlp.ode_solver.polynomial_degree + 2 if isinstance(nlp.ode_solver, OdeSolver.COLLOCATION) else 2\ncx_scale... | Python | MIT License | pyomeca/bioptim | oupsi messed up name changes |
538,855 | 15.11.2022 15:21:11 | 18,000 | db7373f59760d4f4206d59122d4a898d1220ac94 | Changed example to show the gains brought by the scaling | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_variable_scaling.py",
"new_path": "bioptim/examples/getting_started/example_variable_scaling.py",
"diff": "@@ -65,6 +65,8 @@ def prepare_ocp(\n# Path constraint\nx_bounds = QAndQDotBounds(biorbd_model)\n+ x_bounds.min[2... | Python | MIT License | pyomeca/bioptim | Changed example to show the gains brought by the scaling |
538,855 | 15.11.2022 16:26:01 | 18,000 | b5e348e2d1614ca1d2313184f42354fa4ce0c887 | fixed some tests + solution __getitem__ | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/muscle_driven_ocp/muscle_excitations_tracker.py",
"new_path": "bioptim/examples/muscle_driven_ocp/muscle_excitations_tracker.py",
"diff": "@@ -288,7 +288,7 @@ def main():\nsol = ocp.solve(Solver.IPOPT(show_online_optim=True))\n# --- Show the r... | Python | MIT License | pyomeca/bioptim | fixed some tests + solution __getitem__ |
538,855 | 15.11.2022 17:56:11 | 18,000 | 54a8921e5e1474a7014e5d07905fdd2ab1fa8778 | extended the 'unscaed'/'scaled to the other penalty functions | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/constraints.py",
"new_path": "bioptim/limits/constraints.py",
"diff": "@@ -274,24 +274,24 @@ class ConstraintFunction(PenaltyFunctionAbstract):\nif min_torque and min_torque < 0:\nraise ValueError(\"min_torque cannot be negative in tau_max_from_... | Python | MIT License | pyomeca/bioptim | extended the 'unscaed'/'scaled to the other penalty functions |
538,855 | 15.11.2022 18:22:55 | 18,000 | 2c81784825e8f631f317f45aae8ad68c62ea4f2c | fixed multi-phase | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_multiphase.py",
"new_path": "bioptim/examples/getting_started/example_multiphase.py",
"diff": "@@ -28,7 +28,7 @@ from bioptim import (\ndef minimize_difference(all_pn: PenaltyNode):\n- return all_pn[0].nlp.controls.cx_e... | Python | MIT License | pyomeca/bioptim | fixed multi-phase |
538,855 | 15.11.2022 18:30:25 | 18,000 | 9ef36c1f26523b3cb3ffcc23e1ba294b1ebd9abd | fixed implicit | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_implicit_dynamics.py",
"new_path": "bioptim/examples/getting_started/example_implicit_dynamics.py",
"diff": "@@ -173,9 +173,9 @@ def solve_ocp(\ndef prepare_plots(sol_implicit, sol_semi_explicit, sol_explicit):\nplt.fig... | Python | MIT License | pyomeca/bioptim | fixed implicit |
538,855 | 15.11.2022 18:31:11 | 18,000 | c01a7bfab398d3310fab84383858a92c6e37cd0d | plots seem ok | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/plot.py",
"new_path": "bioptim/gui/plot.py",
"diff": "@@ -643,17 +643,15 @@ class PlotOcp:\nn_elements = data_time[i].shape[0]\nstate = np.ndarray((0, n_elements))\n- for s in nlp.states[\"unscaled\"]:\nif isinstance(data_states, (list, tuple)):\n-... | Python | MIT License | pyomeca/bioptim | plots seem ok |
538,855 | 16.11.2022 08:24:16 | 18,000 | 843dc1e4e44fa6fe89b3498e5ba2664ed53d381c | q names problems to be continued | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -864,6 +864,8 @@ class ConfigureProblem:\nmx_states_dot = []\nmx_controls = []\nfor i in nlp.variable_mappings[name].to_second.map_idx:\n+ if i is None:\n+... | Python | MIT License | pyomeca/bioptim | q names problems to be continued |
538,855 | 16.11.2022 10:14:47 | 18,000 | 8f37a21132e4fa01684dec7598cb6e6a2b017ffe | raised an error for custom initial_guess | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/custom_initial_guess.py",
"new_path": "bioptim/examples/getting_started/custom_initial_guess.py",
"diff": "@@ -32,6 +32,7 @@ from bioptim import (\nNoisedInitialGuess,\nInterpolationType,\nOdeSolver,\n+ VariableScalingList,\n)\... | Python | MIT License | pyomeca/bioptim | raised an error for custom initial_guess |
538,855 | 16.11.2022 10:33:21 | 18,000 | dd04d84e1d0051b7a559d7bdfd765ba5bf3a57a4 | fixed parameters scaling | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/parameters.py",
"new_path": "bioptim/optimization/parameters.py",
"diff": "@@ -101,9 +101,9 @@ class Parameter(PenaltyOption):\nelse:\nraise ValueError(\"Parameter scaling must be a 1- or 2- dimensional numpy array\")\n- initial_guess.scal... | Python | MIT License | pyomeca/bioptim | fixed parameters scaling |
538,855 | 16.11.2022 10:38:12 | 18,000 | 6eff7f54bcbcb411a7c253a2660b77fd7068b1bf | fixed phase transition | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/custom_phase_transitions.py",
"new_path": "bioptim/examples/getting_started/custom_phase_transitions.py",
"diff": "@@ -59,8 +59,8 @@ def custom_phase_transition(\nstate_post = nlp_post.states\n# states_mapping can be defined in... | Python | MIT License | pyomeca/bioptim | fixed phase transition |
538,855 | 16.11.2022 11:00:17 | 18,000 | 1f80add8deea0ca2544232cc95266ff13743369e | fixed contacts | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -587,7 +587,7 @@ class ConfigureProblem:\nnlp.contact_forces_func = Function(\n\"contact_forces_func\",\n[nlp.states[\"scaled\"].mx_reduced, nlp.controls[\... | Python | MIT License | pyomeca/bioptim | fixed contacts |
538,855 | 16.11.2022 14:28:53 | 18,000 | dc1a30550e3bf4ce2178ff1b12e5c1ef292a5e56 | fixed typo + made dynamics tests pass | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/path_conditions.py",
"new_path": "bioptim/limits/path_conditions.py",
"diff": "@@ -420,7 +420,7 @@ class Bounds(OptionGeneric):\nself.extra_params = self.min.extra_params\nself.n_shooting = self.min.n_shooting\n- def scale(self, scaling: Union[f... | Python | MIT License | pyomeca/bioptim | fixed typo + made dynamics tests pass |
538,855 | 16.11.2022 14:54:11 | 18,000 | 35fe7dc0fed694617df254a1269d427b632adc28 | fixed continuity | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_continuity_as_objective.py",
"new_path": "bioptim/examples/getting_started/example_continuity_as_objective.py",
"diff": "@@ -177,7 +177,7 @@ def prepare_ocp_second_pass(\nx_bounds[:, 0] = 0\n# Initial guess\n- x_init = ... | Python | MIT License | pyomeca/bioptim | fixed continuity |
538,855 | 16.11.2022 18:41:41 | 18,000 | e52b004a0549eca6d0f3bc76d6f8b539dcf767ba | maybe fixed multi_phase | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_implicit_dynamics.py",
"new_path": "bioptim/examples/getting_started/example_implicit_dynamics.py",
"diff": "@@ -173,9 +173,9 @@ def solve_ocp(\ndef prepare_plots(sol_implicit, sol_semi_explicit, sol_explicit):\nplt.fig... | Python | MIT License | pyomeca/bioptim | maybe fixed multi_phase |
538,855 | 17.11.2022 11:54:02 | 18,000 | eb94c46ad5b41788f83a4289e809ad54f855ff80 | added tests for the scaling | [
{
"change_type": "MODIFY",
"old_path": "tests/test_all_examples.py",
"new_path": "tests/test_all_examples.py",
"diff": "@@ -431,3 +431,14 @@ def test__track__track_segment_on_rt():\nn_shooting=30,\nfinal_time=1,\n)\n+\n+def test__getting_started__example_variable_scaling():\n+ from bioptim.examples.... | Python | MIT License | pyomeca/bioptim | added tests for the scaling |
538,855 | 17.11.2022 14:16:52 | 18,000 | bfc43cce4153797ce5dbc5b74f725535e04714f1 | begining to fix mhe | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/receding_horizon_optimization.py",
"new_path": "bioptim/optimization/receding_horizon_optimization.py",
"diff": "@@ -233,8 +233,8 @@ class RecedingHorizonOptimization(OptimalControlProgram):\n\"The MHE is not implemented yet for x_bounds n... | Python | MIT License | pyomeca/bioptim | begining to fix mhe |
538,860 | 17.11.2022 16:15:57 | 18,000 | d101fa89cc2cfd7dec081bc69c68796a91dca61b | add comments + blacked | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/pendulum.py",
"new_path": "bioptim/examples/getting_started/pendulum.py",
"diff": "@@ -110,6 +110,8 @@ def main():\n# Custom plots\nocp.add_plot_penalty(CostType.ALL)\n+\n+ # --- If one is interested in checking the conditionin... | Python | MIT License | pyomeca/bioptim | add comments + blacked |
538,855 | 17.11.2022 18:01:36 | 18,000 | 3d40c796f66cb1b68cf31639f94300f40c6d2b41 | mhe reinitialization still broken | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -845,13 +845,13 @@ class ConfigureProblem:\nif as_states:\nif name not in nlp.x_scaling:\n- nlp.x_scaling[name] = VariableScaling(np.ones(len(nlp.variable_... | Python | MIT License | pyomeca/bioptim | mhe reinitialization still broken |
538,855 | 17.11.2022 18:16:34 | 18,000 | 39760d0ac5652c7e407e1356cb52c0acfe570d4a | added minimize_states | [
{
"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": "@@ -39,6 +39,8 @@ def prepare_ocp(\nobjective_functions = ObjectiveList()\nobjective_functions.add(Objecti... | Python | MIT License | pyomeca/bioptim | added minimize_states |
538,855 | 18.11.2022 09:36:39 | 18,000 | 648076a1412d34273eabfe35226aafd52cb65ac5 | tryed with a different weight | [
{
"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": "@@ -39,8 +39,8 @@ def prepare_ocp(\nobjective_functions = ObjectiveList()\nobjective_functions.add(Objecti... | Python | MIT License | pyomeca/bioptim | tryed with a different weight |
538,855 | 18.11.2022 16:09:12 | 18,000 | eb1be222f967733b4f2c81b6788eb1804d260d95 | reverted multi-model 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": "@@ -45,8 +45,8 @@ def prepare_ocp(\nobjective_functions = ObjectiveList()\nobjective_functions.add(ObjectiveFcn.... | Python | MIT License | pyomeca/bioptim | reverted multi-model by mapping |
538,860 | 24.11.2022 10:51:56 | 18,000 | 355f8428a6c5bd34c1089def8a5930084250ff41 | useless file, create to write first sketch of check conditioning | [
{
"change_type": "DELETE",
"old_path": "bioptim/examples/getting_started/example_multiphase_checkconditioning.py",
"new_path": null,
"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 a... | Python | MIT License | pyomeca/bioptim | useless file, create to write first sketch of check conditioning |
538,868 | 25.11.2022 14:22:16 | 14,400 | 42ab6b1c6c0c1bd0913536371029a7af13e088a3 | correction of y_lim +plot bounds | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/plot.py",
"new_path": "bioptim/gui/plot.py",
"diff": "@@ -392,7 +392,7 @@ class PlotOcp:\nfor ctr, _ in enumerate(mapping):\nax = axes[ctr]\nif ctr < len(nlp.plot[variable].legend):\n- axes[ctr].set_title(nlp.plot[variable].legend[ctr])\n+ ax.set_t... | Python | MIT License | pyomeca/bioptim | correction of y_lim +plot bounds |
538,854 | 06.12.2022 11:42:35 | 3,600 | bd2108010b1fd59778c7c0ae14780a12a4a07c4d | add passive torque in some configurations | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -173,6 +173,7 @@ class ConfigureProblem:\nrigidbody_dynamics: RigidBodyDynamics = RigidBodyDynamics.ODE,\nsoft_contacts_dynamics: SoftContactDynamics = Sof... | Python | MIT License | pyomeca/bioptim | add passive torque in some configurations |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.