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 | 01.04.2022 17:14:24 | 14,400 | 2f8609829e8e39ff1aa41cebe8e91b97e029bff6 | Allow the user to not expand the dynamics | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -340,7 +340,7 @@ class ConfigureProblem:\nConfigureProblem.configure_soft_contact_function(ocp, nlp)\n@staticmethod\n- def configure_dynamics_function(ocp,... | Python | MIT License | pyomeca/bioptim | Allow the user to not expand the dynamics |
538,848 | 19.04.2022 09:59:36 | 14,400 | 582c5e498e5e7466f7598ac711260d91f09e7f9e | Updated a bit the readme
Thanks to | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -1408,12 +1408,15 @@ IRK is supposed to be a bit more robust, but may be slower too.\nCVODES is the one with the least options, since it is not in-house implemented.\nThe accepted values are:\n+- For Direct mult... | Python | MIT License | pyomeca/bioptim | Updated a bit the readme
Thanks to https://github.com/pyomeca/bioptim/issues/449 |
538,842 | 21.04.2022 11:07:29 | 14,400 | d22244f5e16635d39094c6632c9c60e0529c5271 | docstring and handling graph
first iteration | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/penalty_option.py",
"new_path": "bioptim/limits/penalty_option.py",
"diff": "@@ -357,6 +357,8 @@ class PenaltyOption(OptionGeneric):\nweight_cx = nlp.cx.sym(\"weight\", 1, 1)\ntarget_cx = nlp.cx.sym(\"target\", modified_fcn.shape)\nmodified_fcn ... | Python | MIT License | pyomeca/bioptim | docstring and handling graph
first iteration |
538,842 | 21.04.2022 13:25:56 | 14,400 | 50372248421e17655b8dc5c8a43558e8d6437478 | plot objectives in plotstep is more rigorous | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -1454,6 +1454,7 @@ The accepted values are:\nPLOT: Normal plot that links the points.\nINTEGRATED: Plot that links the points within an interval, but is discrete between the end of an interval and the beginning ... | Python | MIT License | pyomeca/bioptim | plot objectives in plotstep is more rigorous |
538,842 | 21.04.2022 13:40:04 | 14,400 | d7bc494f866ea71aa82ac9eb8b6e9e6253830a8e | print of cost funtcion fixed | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -9,7 +9,7 @@ from casadi import vertcat, DM, Function\nfrom matplotlib import pyplot as plt\nfrom ..limits.path_conditions import InitialGuess, InitialGuessList\n-fr... | Python | MIT License | pyomeca/bioptim | print of cost funtcion fixed |
538,842 | 21.04.2022 15:05:58 | 14,400 | 66040c857bf188b14cc03f6f9ce8a85dd010de5d | restored pendulum example | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/pendulum.py",
"new_path": "bioptim/examples/getting_started/pendulum.py",
"diff": "@@ -60,11 +60,7 @@ def prepare_ocp(\nbiorbd_model = biorbd.Model(biorbd_model_path)\n# Add objective functions\n- objective_functions = Objectiv... | Python | MIT License | pyomeca/bioptim | restored pendulum example |
538,842 | 21.04.2022 16:46:06 | 14,400 | 007cda77140cd065390fc4249c0d561a53286d48 | blacked and found ipopt objectives values to be different ... | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/ipopt_interface.py",
"new_path": "bioptim/interfaces/ipopt_interface.py",
"diff": "@@ -9,7 +9,7 @@ from .solver_interface import SolverInterface\nfrom ..gui.plot import OnlineCallback\nfrom ..interfaces.solver_options import Solver\nfrom ..l... | Python | MIT License | pyomeca/bioptim | blacked and found ipopt objectives values to be different ... |
538,842 | 22.04.2022 15:36:08 | 14,400 | 76cf1264eb2118ae352156fc5c51dce68de5e135 | Being able to load .bo created with older version of biorbd or bioptim | [
{
"change_type": "MODIFY",
"old_path": "bioptim/misc/utils.py",
"new_path": "bioptim/misc/utils.py",
"diff": "@@ -2,7 +2,7 @@ from typing import Any\nfrom packaging.version import parse as parse_version\n-def check_version(tool_to_compare: Any, min_version: str, max_version: str):\n+def check_versio... | Python | MIT License | pyomeca/bioptim | Being able to load .bo created with older version of biorbd or bioptim |
538,842 | 22.04.2022 15:37:10 | 14,400 | 38bf38d613c168823d064fd3b1fc801b9ab63e89 | root_dynamics as an implicit constraint available in bioptim | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/constraints.py",
"new_path": "bioptim/limits/constraints.py",
"diff": "@@ -411,6 +411,43 @@ class ConstraintFunction(PenaltyFunctionAbstract):\nreturn BiorbdInterface.mx_to_cx(\"ForwardDynamics\", nlp.controls[\"fext\"].mx - soft_contact_force, ... | Python | MIT License | pyomeca/bioptim | root_dynamics as an implicit constraint available in bioptim |
538,842 | 22.04.2022 16:42:31 | 14,400 | 48e5b6428f2ec7710726e03f492864e4e2321e07 | Auto stash before revert of "root_dynamics as an implicit constraint available in bioptim"
one more fix on checking if it is biorbd_casadi or biorbd | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimal_control_program.py",
"new_path": "bioptim/optimization/optimal_control_program.py",
"diff": "@@ -954,8 +954,9 @@ class OptimalControlProgram:\ndata = pickle.load(file)\nocp = OptimalControlProgram(**data[\"ocp_initializer\"])\nfor ... | Python | MIT License | pyomeca/bioptim | Auto stash before revert of "root_dynamics as an implicit constraint available in bioptim"
one more fix on checking if it is biorbd_casadi or biorbd |
538,842 | 25.04.2022 09:34:04 | 14,400 | 90b375c4e0d390e065e07be790e19b5658687fe0 | dot and line is more rigorous for objective functions | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimal_control_program.py",
"new_path": "bioptim/optimization/optimal_control_program.py",
"diff": "@@ -778,15 +778,10 @@ class OptimalControlProgram:\n\"compute_derivative\": penalty.derivative or penalty.explicit_derivative or penalty.i... | Python | MIT License | pyomeca/bioptim | dot and line is more rigorous for objective functions |
538,842 | 25.04.2022 12:43:44 | 14,400 | 7d44e9fe9344f758ee6f0c5de6ca3af8354432a3 | piecewise constant control compatible with trapz integration | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/plot.py",
"new_path": "bioptim/gui/plot.py",
"diff": "@@ -635,12 +635,16 @@ class PlotOcp:\nif self.plot_func[key][i].label[:16] == \"PHASE_TRANSITION\":\nself.ydata.append(np.zeros(np.shape(state)[0]))\ncontinue\n- x_mod = 1 if self.plot_func[key]... | Python | MIT License | pyomeca/bioptim | piecewise constant control compatible with trapz integration |
538,842 | 25.04.2022 14:38:39 | 14,400 | db6266fdf604e800620f73e0063fbbfaaab541a9 | linear continuous also works | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/plot.py",
"new_path": "bioptim/gui/plot.py",
"diff": "@@ -645,6 +645,10 @@ class PlotOcp:\n1\nif (nlp.control_type == ControlType.LINEAR_CONTINUOUS or self.plot_func[key][i].compute_derivative)\nand not (\"OBJECTIVES\" in key or \"CONSTRAINTS\" in ... | Python | MIT License | pyomeca/bioptim | linear continuous also works |
538,859 | 25.04.2022 17:44:43 | 14,400 | 5490a8cccfddf1001b6aad8124479d4e95c6b8fb | fix sol.print in Acados pendulum example and fix plot function | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/acados/pendulum.py",
"new_path": "bioptim/examples/acados/pendulum.py",
"diff": "@@ -111,10 +111,9 @@ def main():\n# --- Solve the program --- #\nsol = ocp.solve(solver=Solver.ACADOS())\n- sol.print()\n# --- Show results --- #\n- sol.print()\n... | Python | MIT License | pyomeca/bioptim | fix sol.print in Acados pendulum example and fix plot function |
538,842 | 26.04.2022 15:20:20 | 14,400 | a9fa4f2e0b03c72d2a4eb02d9274c846921f0f7b | Handling targets in list instead of numpy array to prepare trapz with targets | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/acados_interface.py",
"new_path": "bioptim/interfaces/acados_interface.py",
"diff": "@@ -378,7 +378,7 @@ class AcadosInterface(SolverInterface):\ny_ref = [np.zeros((n_states if is_state else n_controls, 1)) for _ in node_idx]\nif objectives.... | Python | MIT License | pyomeca/bioptim | Handling targets in list instead of numpy array to prepare trapz with targets |
538,842 | 26.04.2022 17:12:54 | 14,400 | d7e01330f16d9ed652160967cba887819e9f47a5 | handling trapz with target in lagrange | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/ipopt_interface.py",
"new_path": "bioptim/interfaces/ipopt_interface.py",
"diff": "@@ -287,6 +287,9 @@ class IpoptInterface(SolverInterface):\nelse:\np = self.ocp.cx()\nfor idx in penalty.node_idx:\n+ if penalty.integration_rule == IntegralA... | Python | MIT License | pyomeca/bioptim | handling trapz with target in lagrange |
538,842 | 27.04.2022 10:25:47 | 14,400 | 3c09023059585da4ec7c501b3db76f8511de429e | small fix on expanding penalty functions | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/penalty_option.py",
"new_path": "bioptim/limits/penalty_option.py",
"diff": "@@ -464,8 +464,12 @@ class PenaltyOption(OptionGeneric):\n# Do not use nlp.add_casadi_func because all of them must be registered\nself.weighted_function = Function(\nn... | Python | MIT License | pyomeca/bioptim | small fix on expanding penalty functions |
538,842 | 27.04.2022 10:35:31 | 14,400 | 815da29d4457eee2b901f563e49ba6ca258765cc | restored pendulum | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/pendulum.py",
"new_path": "bioptim/examples/getting_started/pendulum.py",
"diff": "@@ -108,13 +108,13 @@ def main():\nocp = prepare_ocp(biorbd_model_path=\"models/pendulum.bioMod\", final_time=1, n_shooting=30)\n# Custom plots\... | Python | MIT License | pyomeca/bioptim | restored pendulum |
538,842 | 27.04.2022 15:17:43 | 14,400 | b86e725b03b25944d5beb63332d3307832b4db75 | Answering all the comments in reviewable. | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/ipopt_interface.py",
"new_path": "bioptim/interfaces/ipopt_interface.py",
"diff": "@@ -11,6 +11,7 @@ from ..interfaces.solver_options import Solver\nfrom ..limits.path_conditions import Bounds\nfrom ..misc.enums import InterpolationType, Con... | Python | MIT License | pyomeca/bioptim | Answering all the comments in reviewable. |
538,842 | 27.04.2022 16:19:47 | 14,400 | 5e1c882da6dac94874dce1b0054cde2ffb38c63c | new tests for targets and blacked | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/ipopt_interface.py",
"new_path": "bioptim/interfaces/ipopt_interface.py",
"diff": "@@ -230,6 +230,7 @@ class IpoptInterface(SolverInterface):\n-------\n\"\"\"\n+\ndef format_target(target_in: np.array) -> np.array:\n\"\"\"\nFormat the target... | Python | MIT License | pyomeca/bioptim | new tests for targets and blacked |
538,842 | 28.04.2022 10:58:47 | 14,400 | 365943c5711afda1ca08dda8c0e2c49aed23bf0c | fix a print in a test | [
{
"change_type": "MODIFY",
"old_path": "tests/test_cost_function_integration.py",
"new_path": "tests/test_cost_function_integration.py",
"diff": "@@ -153,8 +153,7 @@ def test_pendulum(control_type, integration_rule, objective):\nsolver.set_maximum_iterations(5)\nsol = ocp.solve(solver)\nj_printed = ... | Python | MIT License | pyomeca/bioptim | fix a print in a test |
538,842 | 28.04.2022 12:08:01 | 14,400 | 41092215a912d1a546e63c41e06cd4b379dd78fd | True trapezoidal integration
I guess i'm done with this PR. | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/plot.py",
"new_path": "bioptim/gui/plot.py",
"diff": "@@ -639,6 +639,7 @@ class PlotOcp:\n1\nif self.plot_func[key][i].compute_derivative\nor self.plot_func[key][i].integration_rule == IntegralApproximation.TRAPEZOIDAL\n+ or self.plot_func[key][i].... | Python | MIT License | pyomeca/bioptim | True trapezoidal integration
I guess i'm done with this PR. |
538,842 | 28.04.2022 13:19:49 | 14,400 | 4c8487e56a85f0477835b63de8daeca97a8012d6 | Readme to go with it | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -92,6 +92,7 @@ As a tour guide that uses this binder, you can watch the `bioptim` workshop that\n- [Shooting](#enum-shooting)\n- [CostType](#enum-costtype)\n- [SolutionIntegrator](#enum-solutionintegrator)\n+ - ... | Python | MIT License | pyomeca/bioptim | Readme to go with it |
538,842 | 29.04.2022 16:14:56 | 14,400 | b772444992e36feb60a9ad83a14fa8536bce7952 | answering a first wave of comments. | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/objective_functions.py",
"new_path": "bioptim/limits/objective_functions.py",
"diff": "@@ -257,7 +257,7 @@ class ObjectiveFunction:\nif list_index >= len(ocp_or_nlp.J) or list_index < 0:\nraise ValueError(\"'list_index' must be defined properly\... | Python | MIT License | pyomeca/bioptim | answering a first wave of comments. |
538,842 | 03.05.2022 17:52:06 | 14,400 | 9814f14a15737d8229b6e8e9bc53664bcb3eb0b9 | small commit to handle bugs. tests still doesn't work. | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/objective_functions.py",
"new_path": "bioptim/limits/objective_functions.py",
"diff": "@@ -3,7 +3,7 @@ from enum import Enum\nfrom .penalty import PenaltyFunctionAbstract, PenaltyOption\nfrom .penalty_node import PenaltyNodeList\n-from ..misc.en... | Python | MIT License | pyomeca/bioptim | small commit to handle bugs. tests still doesn't work. |
538,842 | 04.05.2022 08:36:23 | 14,400 | 096b8c43968080ccae93a708ae1d62621eafc069 | shall the test pass in windows ? | [
{
"change_type": "MODIFY",
"old_path": "tests/test_cost_function_integration.py",
"new_path": "tests/test_cost_function_integration.py",
"diff": "@@ -391,8 +391,8 @@ def test_pendulum_target(control_type, integration_rule, objective):\nnp.testing.assert_almost_equal(f[0, 0], 47.409664872029175)\nnp.... | Python | MIT License | pyomeca/bioptim | shall the test pass in windows ? |
538,842 | 04.05.2022 08:37:31 | 14,400 | 629727aa6640949b29280efe821d1f68505aebb5 | extra bug fixed which is the consequence of using list when trapz rule is used with targets | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/graph.py",
"new_path": "bioptim/gui/graph.py",
"diff": "@@ -198,12 +198,12 @@ class GraphAbstract:\nif obj.target is not None:\nif obj.quadratic:\nmayer_str += (\n- f\"({obj.name} - {self._vector_layout(obj.target[:, obj.node_idx.index(i)])})\"\n+ ... | Python | MIT License | pyomeca/bioptim | extra bug fixed which is the consequence of using list when trapz rule is used with targets |
538,842 | 04.05.2022 08:45:10 | 14,400 | 2bd6c11e95bfb498fffd410ccfb454c29ed7abb6 | The test going with it | [
{
"change_type": "MODIFY",
"old_path": "tests/test_cost_function_integration.py",
"new_path": "tests/test_cost_function_integration.py",
"diff": "@@ -65,6 +65,10 @@ def prepare_ocp(\nobjective_functions = Objective(\nObjectiveFcn.Lagrange.MINIMIZE_STATE, key=\"qdot\", integration_rule=integration_ru... | Python | MIT License | pyomeca/bioptim | The test going with it |
538,842 | 04.05.2022 12:03:59 | 14,400 | 45438188dee63b64350ae38344a113bb43d458d8 | to pass windows tests | [
{
"change_type": "MODIFY",
"old_path": "tests/test_cost_function_integration.py",
"new_path": "tests/test_cost_function_integration.py",
"diff": "@@ -395,8 +395,8 @@ def test_pendulum_target(control_type, integration_rule, objective):\nnp.testing.assert_almost_equal(f[0, 0], 47.409664872029175)\nnp.... | Python | MIT License | pyomeca/bioptim | to pass windows tests |
538,842 | 04.05.2022 16:38:52 | 14,400 | 57dce8b1da8897e53c3a8b25d67f5c67a2a499d2 | final trapz push | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/objective_functions.py",
"new_path": "bioptim/limits/objective_functions.py",
"diff": "@@ -272,7 +272,7 @@ class ObjectiveFunction:\nif list_index >= len(ocp_or_nlp.J) or list_index < 0:\nraise ValueError(\"'list_index' must be defined properly\... | Python | MIT License | pyomeca/bioptim | final trapz push |
538,842 | 16.12.2021 13:56:35 | 18,000 | b7bbeb4444ad83fca03bbfe76d80fcdd4a71d0c8 | semi-implicit works with contact forces | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/constraints.py",
"new_path": "bioptim/limits/constraints.py",
"diff": "from typing import Callable, Union, Any\nfrom enum import Enum\n+import biorbd_casadi as biorbd\nimport numpy as np\nfrom casadi import sum1, if_else, vertcat, lt, SX, MX\n@@... | Python | MIT License | pyomeca/bioptim | semi-implicit works with contact forces |
538,842 | 16.12.2021 19:24:52 | 18,000 | 7d156e2b2a9231e8035b03fbe5e59312e2439a9c | semi-implicit as possibility of torque driven dynamics | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -106,6 +106,7 @@ class ConfigureProblem:\nnlp,\nwith_contact: bool = False,\nimplicit_dynamics: bool = False,\n+ semi_implicit_dynamics: bool = False,\nimp... | Python | MIT License | pyomeca/bioptim | semi-implicit as possibility of torque driven dynamics |
538,842 | 16.12.2021 19:26:55 | 18,000 | 03182fd978ccc758d48ca86eaa3bc0f2603655f0 | trying to handle force contact as controls for full implicit case with_contact = True | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/biorbd_interface.py",
"new_path": "bioptim/interfaces/biorbd_interface.py",
"diff": "@@ -40,13 +40,19 @@ class BiorbdInterface:\nsv_over_all_phases = []\nfor f_ext in all_f_ext:\n- f_ext = np.array(f_ext)\n+ f_ext = np.array(f_ext) if isinst... | Python | MIT License | pyomeca/bioptim | trying to handle force contact as controls for full implicit case with_contact = True |
538,842 | 16.12.2021 19:28:37 | 18,000 | c63866c508c9010d6c7b2d2d686b64f86fc2ff0e | zero acceleration constraint on contact node in full implicit
Because inverse dynamics does not handle contact dynamics of RBDL. | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -159,6 +159,15 @@ class ConfigureProblem:\nphase=nlp.phase_idx,\nwith_contact=with_contact,\n)\n+ if with_contact:\n+ ConfigureProblem.configure_contact_fo... | Python | MIT License | pyomeca/bioptim | zero acceleration constraint on contact node in full implicit
Because inverse dynamics does not handle contact dynamics of RBDL. |
538,842 | 03.01.2022 08:37:39 | 18,000 | 0e52ec55b9e8adfc56f0a154a2c82079576d0c12 | Dynamic assignement of external forces controls for inverse dynamics as a constraint. | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -161,7 +161,7 @@ class ConfigureProblem:\n)\nif with_contact:\nConfigureProblem.configure_contact_forces(nlp, False, True)\n- for ii, contact in enumerate(... | Python | MIT License | pyomeca/bioptim | Dynamic assignement of external forces controls for inverse dynamics as a constraint. |
538,842 | 04.01.2022 05:37:59 | 18,000 | 3e1b47b51844c858ac48c168b764777abf021e5b | sorted configuration for implicit rigid contacts | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -161,7 +161,7 @@ class ConfigureProblem:\n)\nif with_contact:\nConfigureProblem.configure_contact_forces(nlp, False, True)\n- for ii in range(nlp.model.nbC... | Python | MIT License | pyomeca/bioptim | sorted configuration for implicit rigid contacts |
538,842 | 04.01.2022 13:01:20 | 18,000 | db7d5d5a0c9470295131f5b10019193d386f722b | implicit formulation works with rigid contacts, need to clean the code. | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/constraints.py",
"new_path": "bioptim/limits/constraints.py",
"diff": "@@ -4,6 +4,8 @@ from enum import Enum\nimport biorbd_casadi as biorbd\nimport numpy as np\nfrom casadi import sum1, if_else, vertcat, lt, SX, MX\n+from biorbd_casadi import t... | Python | MIT License | pyomeca/bioptim | implicit formulation works with rigid contacts, need to clean the code. |
538,842 | 28.01.2022 15:29:19 | 18,000 | 238df2d929c0a85b1c54bd9ad26afbdef0ece889 | enhancing implicit contact with inverse dynamics | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -144,11 +144,13 @@ class ConfigureProblem:\nConfigureProblem.configure_tau(nlp, False, True, fatigue)\nif semi_implicit_dynamics:\n+ ConfigureProblem.confi... | Python | MIT License | pyomeca/bioptim | enhancing implicit contact with inverse dynamics |
538,842 | 31.01.2022 16:04:47 | 18,000 | f6257e0954a306d0cc44dfb0de8d9ed46b1323ea | MultiBodyDynamics enum to handle implicit, semi-explicit or implicit. | [
{
"change_type": "MODIFY",
"old_path": "bioptim/__init__.py",
"new_path": "bioptim/__init__.py",
"diff": "@@ -182,6 +182,7 @@ from .misc.enums import (\nVariableType,\nSolutionIntegrator,\nIntegralApproximation,\n+ MultiBodyDynamics,\n)\nfrom .misc.mapping import BiMappingList, BiMapping, Mapping\nf... | Python | MIT License | pyomeca/bioptim | MultiBodyDynamics enum to handle implicit, semi-explicit or implicit. |
538,842 | 31.01.2022 17:56:13 | 18,000 | 19e78e2d56a7078066562e83bf6ef519f8e1cf6c | Restored file for which modifications are not useful anymore. | [
{
"change_type": "MODIFY",
"old_path": "bioptim/interfaces/biorbd_interface.py",
"new_path": "bioptim/interfaces/biorbd_interface.py",
"diff": "@@ -40,19 +40,13 @@ class BiorbdInterface:\nsv_over_all_phases = []\nfor f_ext in all_f_ext:\n- f_ext = np.array(f_ext) if isinstance(f_ext, list) else f_ex... | Python | MIT License | pyomeca/bioptim | Restored file for which modifications are not useful anymore. |
538,842 | 31.01.2022 18:56:06 | 18,000 | e30bf0a3b167aed62214d96ed5f41f76a96176a3 | test and blacked | [
{
"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": "@@ -27,6 +27,7 @@ from bioptim import (\nInitialGuess,\nCostType,\nInterpolationType,\n+ MultiBodyDynamics,\n)\n@@ -... | Python | MIT License | pyomeca/bioptim | test and blacked |
538,842 | 23.02.2022 08:55:47 | 18,000 | a67152f7405320a45af1595adbd3f5972e479ea0 | Transcription is more adapted for API | [
{
"change_type": "MODIFY",
"old_path": "bioptim/__init__.py",
"new_path": "bioptim/__init__.py",
"diff": "@@ -182,7 +182,7 @@ from .misc.enums import (\nVariableType,\nSolutionIntegrator,\nIntegralApproximation,\n- MultiBodyDynamics,\n+ Transcription,\n)\nfrom .misc.mapping import BiMappingList, BiM... | Python | MIT License | pyomeca/bioptim | Transcription is more adapted for API |
538,842 | 23.02.2022 09:00:44 | 18,000 | da76cf23953a0178b82727913c9af8b30e508bab | rigidbody instead of multibody | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -105,7 +105,7 @@ class ConfigureProblem:\nocp,\nnlp,\nwith_contact: bool = False,\n- multibody_dynamics: Transcription = Transcription.EXPLICIT,\n+ rigidbo... | Python | MIT License | pyomeca/bioptim | rigidbody instead of multibody |
538,842 | 23.02.2022 09:22:28 | 18,000 | 0f2699bec40f0c8ab392d9fc4e833b4dd139c0da | some more fixes on handling implicit and semi-explicit | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -130,7 +130,7 @@ class ConfigureProblem:\nif rigidbody_dynamics == Transcription.IMPLICIT:\nif not implicit_soft_contacts:\n- raise ValueError(\"Soft conta... | Python | MIT License | pyomeca/bioptim | some more fixes on handling implicit and semi-explicit |
538,842 | 23.02.2022 09:54:22 | 18,000 | 651cec4e5e8a9304a7be42192bf75d4aa52bd580 | handle all cases between soft contact and rigidbody dynamics. | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -106,7 +106,7 @@ class ConfigureProblem:\nnlp,\nwith_contact: bool = False,\nrigidbody_dynamics: Transcription = Transcription.EXPLICIT,\n- implicit_soft_c... | Python | MIT License | pyomeca/bioptim | handle all cases between soft contact and rigidbody dynamics. |
538,842 | 03.03.2022 16:42:44 | 18,000 | 8436df799ad3e9545aa4f7ed834008d7183db0e0 | The missing tests to accept the PR | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_implicit_dynamics.py",
"new_path": "bioptim/examples/getting_started/example_implicit_dynamics.py",
"diff": "@@ -74,7 +74,7 @@ def prepare_ocp(\ntau_min, tau_max, tau_init = -100, 100, 0\n# Be careful to let the acceler... | Python | MIT License | pyomeca/bioptim | The missing tests to accept the PR |
538,842 | 04.03.2022 11:42:34 | 18,000 | 0b346e57b480e021d35c86c5bc289931e281647d | some efforts made to tests implicit with_contacts | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/getting_started/example_implicit_dynamics.py",
"new_path": "bioptim/examples/getting_started/example_implicit_dynamics.py",
"diff": "@@ -119,7 +119,9 @@ def prepare_ocp(\n)\n-def solve_ocp(rigidbody_dynamics: Transcription) -> OptimalControlPr... | Python | MIT License | pyomeca/bioptim | some efforts made to tests implicit with_contacts |
538,842 | 04.03.2022 14:00:11 | 18,000 | 8a41ebe7fd7c2266acab8689f134807c2904818d | fix on the name of test | [
{
"change_type": "MODIFY",
"old_path": "tests/test_global_torque_driven_with_contact_ocp.py",
"new_path": "tests/test_global_torque_driven_with_contact_ocp.py",
"diff": "@@ -174,7 +174,7 @@ def test_maximize_predicted_height_CoM_with_actuators(ode_solver):\n@pytest.mark.parametrize(\"transcription\"... | Python | MIT License | pyomeca/bioptim | fix on the name of test |
538,842 | 04.03.2022 15:10:33 | 18,000 | c417ed82db7afd393157c491f74947bd7038786a | Need to change the version of biorbd | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimal_control_program.py",
"new_path": "bioptim/optimization/optimal_control_program.py",
"diff": "@@ -44,7 +44,7 @@ from ..misc.utils import check_version\nfrom ..optimization.parameters import ParameterList, Parameter\nfrom ..optimizat... | Python | MIT License | pyomeca/bioptim | Need to change the version of biorbd |
538,855 | 28.03.2022 16:51:27 | 14,400 | 8507be39b67acb4bc95c9b0eb67116f487c12407 | changed approach with generate_time_vector function | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "from typing import Any, Union\n-from copy import deepcopy\n+from copy import deepcopy, copy\nimport biorbd_casadi as biorbd\nimport numpy as np\n@@ -559,6 +559,43 @@ cl... | Python | MIT License | pyomeca/bioptim | changed approach with generate_time_vector function |
538,855 | 29.03.2022 11:57:17 | 14,400 | ba26f6cf37c6d6297204e43bc5f4eecbbc1c4140 | Woops, reverted changes to original state | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -657,7 +657,6 @@ class Solution:\n)\nx0 = self._states[p][\"all\"][:, col]\n- t_interval = sum(out.phase_time[: (p + 2)]) / nlp.ns\nfor s in range(self.ns[p]):\nif n... | Python | MIT License | pyomeca/bioptim | Woops, reverted changes to original state |
538,855 | 13.04.2022 11:23:38 | 14,400 | 3ca653303b9677517fb7f8c1c52522f88343907e | removed hasattr | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -285,6 +285,7 @@ class Solution:\nself.real_time_to_optimize = None\nself.iterations = None\nself.status = None\n+ self.time_vector = None\n# Extract the data now fo... | Python | MIT License | pyomeca/bioptim | removed hasattr |
538,844 | 27.04.2022 15:36:27 | 14,400 | 441c74772aa2c6ddc092dbb897df4481f1a0b719 | add controls and states print bounds | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/graph.py",
"new_path": "bioptim/gui/graph.py",
"diff": "@@ -7,6 +7,7 @@ from ..limits.objective_functions import ObjectiveFcn, ObjectiveList, Objective\nfrom ..limits.path_conditions import PathCondition\nfrom ..optimization.parameters import Param... | Python | MIT License | pyomeca/bioptim | add controls and states print bounds |
538,844 | 27.04.2022 16:20:27 | 14,400 | cd5edb1c97b3024886d29b70a46084458403b91f | print controls and states bounds correction | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/graph.py",
"new_path": "bioptim/gui/graph.py",
"diff": "@@ -4,7 +4,7 @@ import numpy as np\nfrom ..limits.constraints import Constraint\nfrom ..limits.objective_functions import ObjectiveFcn, ObjectiveList, Objective\n-from ..limits.path_conditions... | Python | MIT License | pyomeca/bioptim | print controls and states bounds correction |
538,842 | 06.05.2022 18:24:44 | 14,400 | ca46a030b1cdc327023ed0c1e93093fcaf6e7c13 | resolving a test because force is a control when there is implicit and contacts | [
{
"change_type": "MODIFY",
"old_path": "tests/test_penalty.py",
"new_path": "tests/test_penalty.py",
"diff": "@@ -60,11 +60,12 @@ def prepare_test_ocp(with_muscles=False, with_contact=False, with_actuator=False\nnu = biorbd_model.nbGeneralizedTorque()\nx_init = InitialGuess(np.zeros((nx, 1)))\n- mod... | Python | MIT License | pyomeca/bioptim | resolving a test because force is a control when there is implicit and contacts |
538,842 | 09.05.2022 12:12:28 | 14,400 | 8b7a83526e1c3aeb0cb8b618653b2fb793adc640 | Enhanced terminology of DMS with algebraic constraints | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -105,7 +105,7 @@ class ConfigureProblem:\nocp,\nnlp,\nwith_contact: bool = False,\n- rigidbody_dynamics: Transcription = Transcription.EXPLICIT,\n+ rigidbo... | Python | MIT License | pyomeca/bioptim | Enhanced terminology of DMS with algebraic constraints |
538,842 | 10.05.2022 17:30:34 | 14,400 | 794c9166eab5dbdb67f0b3662f5ffb8128312477 | configure qdddot as a control | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -106,7 +106,7 @@ class ConfigureProblem:\nnlp,\nwith_contact: bool = False,\nrigidbody_dynamics: Transcription = Transcription.ODE,\n- soft_contacts_dynami... | Python | MIT License | pyomeca/bioptim | configure qdddot as a control |
538,842 | 10.05.2022 17:33:00 | 14,400 | e9431b2d9b9a9cc9c180ee30783efb00bf9cdd3b | manage qddot is now easier | [
{
"change_type": "MODIFY",
"old_path": "bioptim/__init__.py",
"new_path": "bioptim/__init__.py",
"diff": "@@ -168,7 +168,14 @@ from .limits.constraints import ConstraintFcn, ConstraintList, Constraint\nfrom .limits.phase_transition import PhaseTransitionFcn, PhaseTransitionList, PhaseTransition\nfro... | Python | MIT License | pyomeca/bioptim | manage qddot is now easier |
538,842 | 10.05.2022 18:37:54 | 14,400 | 3d557fbca2a6049588524ac3640aa3e8ea6cc323 | manage unit target | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimal_control_program.py",
"new_path": "bioptim/optimization/optimal_control_program.py",
"diff": "@@ -721,11 +721,14 @@ class OptimalControlProgram:\nif dt.shape[0] > 1:\ndt = dt[penalty.phase]\n+ if penalty.target is not None and isins... | Python | MIT License | pyomeca/bioptim | manage unit target |
538,842 | 10.05.2022 18:44:56 | 14,400 | 62ca5656b24e78e5a9bd644d438bc2ee4ec0f0ec | fixed qdddot configuration | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -155,7 +155,7 @@ class ConfigureProblem:\nor rigidbody_dynamics == Transcription.CONSTRAINT_ID_QDDDOT\n):\nConfigureProblem.configure_qddot(nlp, True, Fals... | Python | MIT License | pyomeca/bioptim | fixed qdddot configuration |
538,842 | 11.05.2022 10:53:55 | 14,400 | 50c7486e713a3140929c26b7111e483a44f60d2e | enhancing inheritance of QandQDotAndQDDot | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -59,6 +59,7 @@ As a tour guide that uses this binder, you can watch the `bioptim` workshop that\n- [Bounds](#class-bounds)\n- [BoundsList](#class-boundslist)\n- [QAndQDotBounds](#class-qandqdotbounds)\n+ - [QAnd... | Python | MIT License | pyomeca/bioptim | enhancing inheritance of QandQDotAndQDDot |
538,842 | 11.05.2022 16:39:30 | 14,400 | 199230f65a3f7ab3331c90ef58c5e00f9a83d5ce | Configuration torque driven dynamics for qddot | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -173,7 +173,7 @@ class ConfigureProblem:\n# qddot is continuous with Transcription.CONSTRAINT_ID_QDDDOT\n# so the consistency constraint of the marker acce... | Python | MIT License | pyomeca/bioptim | Configuration torque driven dynamics for qddot |
538,842 | 12.05.2022 17:15:46 | 14,400 | 6612a3541e6157928000a2b7e40709316b7eb4a7 | test fix with implicit contacts and small fix in when printing bounds | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/graph.py",
"new_path": "bioptim/gui/graph.py",
"diff": "@@ -6,8 +6,7 @@ from ..limits.constraints import Constraint\nfrom ..limits.objective_functions import ObjectiveFcn, ObjectiveList, Objective\nfrom ..limits.path_conditions import PathCondition... | Python | MIT License | pyomeca/bioptim | test fix with implicit contacts and small fix in when printing bounds |
538,842 | 12.05.2022 17:41:02 | 14,400 | e124a8b76ca49bc898a7d053caaf361594eb7273 | compute_penalty_values is no ready handle target with two dimension with lagrangian objectives with trapezoidal integration. | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/optimal_control_program.py",
"new_path": "bioptim/optimization/optimal_control_program.py",
"diff": "@@ -721,14 +721,11 @@ class OptimalControlProgram:\nif dt.shape[0] > 1:\ndt = dt[penalty.phase]\n- if penalty.target is not None and isins... | Python | MIT License | pyomeca/bioptim | compute_penalty_values is no ready handle target with two dimension with lagrangian objectives with trapezoidal integration. |
538,842 | 13.05.2022 11:56:47 | 14,400 | 718b2d421ba8d0269fa9ea21215d36611c041408 | raise not implemented error if it print_bounds does not handle the enum type. | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/graph.py",
"new_path": "bioptim/gui/graph.py",
"diff": "@@ -416,7 +416,9 @@ class OcpToConsole(GraphAbstract):\nelif bounds.type == InterpolationType.LINEAR:\ntitle = [\"\", \"Beginning\", \"End\"]\nelse:\n- return\n+ raise NotImplementedError(\"Pr... | Python | MIT License | pyomeca/bioptim | raise not implemented error if it print_bounds does not handle the enum type. |
538,842 | 16.05.2022 14:42:44 | 14,400 | b3361b35cb9f4508ebd567f6f0668b6b1aef6bd2 | minimize comddot without qddot as variable | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/penalty.py",
"new_path": "bioptim/limits/penalty.py",
"diff": "@@ -434,15 +434,21 @@ class PenaltyFunctionAbstract:\nnlp = all_pn.nlp\nif \"qddot\" not in nlp.states.keys() and \"qddot\" not in nlp.controls.keys():\n- raise NotImplementedError(\... | Python | MIT License | pyomeca/bioptim | minimize comddot without qddot as variable |
538,842 | 17.05.2022 14:22:14 | 14,400 | 067786dbe0823d37a3526b43ada22981f94f14ba | multinode constraint plot | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/plot.py",
"new_path": "bioptim/gui/plot.py",
"diff": "@@ -689,6 +689,34 @@ class PlotOcp:\nelif self.plot_func[key][i].type == PlotType.POINT:\nfor i_var in range(self.variable_sizes[i][key]):\n+\n+ if self.plot_func[key][i].parameters[\"penalty\"]... | Python | MIT License | pyomeca/bioptim | multinode constraint plot |
538,842 | 17.05.2022 14:27:39 | 14,400 | 4e98abff246524680801050144b4fa42dcbd8cf6 | Com equality multinode constraint | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/multinode_constraint.py",
"new_path": "bioptim/limits/multinode_constraint.py",
"diff": "@@ -249,6 +249,49 @@ class MultinodeConstraintFunctions(PenaltyFunctionAbstract):\nreturn states_pre - states_post\n+ @staticmethod\n+ def com_equality(mult... | Python | MIT License | pyomeca/bioptim | Com equality multinode constraint |
538,842 | 18.05.2022 10:52:46 | 14,400 | 57a4d18a44ea035254a857fc5e553c165cff545d | com velocity multinode cosntriant | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/multinode_constraint.py",
"new_path": "bioptim/limits/multinode_constraint.py",
"diff": "@@ -283,14 +283,57 @@ class MultinodeConstraintFunctions(PenaltyFunctionAbstract):\npre_states_cx = nlp_pre.states.cx\npost_states_cx = nlp_post.states.cx\n... | Python | MIT License | pyomeca/bioptim | com velocity multinode cosntriant |
538,842 | 18.05.2022 10:53:45 | 14,400 | 1d27da15ca10a86a388854b2eecdb54ff6a8a33d | adapted theses multinodes constraints for any number of states | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/multinode_constraint.py",
"new_path": "bioptim/limits/multinode_constraint.py",
"diff": "@@ -270,6 +270,9 @@ class MultinodeConstraintFunctions(PenaltyFunctionAbstract):\nstates_pre = multinode_constraint.states_mapping.to_second.map(nlp_pre.sta... | Python | MIT License | pyomeca/bioptim | adapted theses multinodes constraints for any number of states |
538,842 | 18.05.2022 12:20:33 | 14,400 | 49fb6f118a9f8fd26c2b9b1f8d16d2c94fbdd58e | test implicit with minimize comddot | [
{
"change_type": "MODIFY",
"old_path": "tests/test_penalty.py",
"new_path": "tests/test_penalty.py",
"diff": "@@ -539,11 +539,13 @@ def test_penalty_minimize_comddot(value, penalty_origin, implicit):\npenalty = Constraint(penalty_type)\nif not implicit:\n- with pytest.raises(\n- NotImplementedError,... | Python | MIT License | pyomeca/bioptim | test implicit with minimize comddot |
538,842 | 18.05.2022 13:49:06 | 14,400 | ae207078db26f72497d394c4d36782597454fda6 | tests for theses new multinode cosntraints | [
{
"change_type": "MODIFY",
"old_path": "tests/test_multinode_constraints.py",
"new_path": "tests/test_multinode_constraints.py",
"diff": "@@ -42,6 +42,20 @@ def prepare_ocp(biorbd_model_path, phase_1, phase_2) -> OptimalControlProgram:\nfirst_node=Node.START,\nsecond_node=Node.START,\n)\n+ multinode... | Python | MIT License | pyomeca/bioptim | tests for theses new multinode cosntraints |
538,842 | 18.05.2022 14:43:33 | 14,400 | d4bff1d5fa4b9a0ea2fd9073c3bdebba6102c511 | cleaned soft contact test | [
{
"change_type": "MODIFY",
"old_path": "tests/test_soft_contacts.py",
"new_path": "tests/test_soft_contacts.py",
"diff": "import os\n-import pytest\nimport numpy as np\nfrom bioptim import OdeSolver\n-from .utils import TestUtils\n-\n-# @pytest.mark.parametrize(\"n_threads\", [8])\n-# @pytest.mark.p... | Python | MIT License | pyomeca/bioptim | cleaned soft contact test |
538,842 | 18.05.2022 14:44:14 | 14,400 | 4472e29578e247137dadfd3baac257a67d1809db | fixed torque derivative driven test | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -269,7 +269,7 @@ class ConfigureProblem:\n)\nif rigidbody_dynamics == Transcription.CONSTRAINT_ID:\n- if soft_contacts_dynamics == Transcription.ODE:\n+ if... | Python | MIT License | pyomeca/bioptim | fixed torque derivative driven test |
538,842 | 18.05.2022 14:45:06 | 14,400 | be642413f059c3729bc8c5aa10fbce7b988e119a | fixed example soft contact | [
{
"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": "@@ -50,7 +50,9 @@ def prepare_single_shooting(\nbiorbd_model = biorbd.Model(biorbd_model_path)\n# Dynamics\n- dynami... | Python | MIT License | pyomeca/bioptim | fixed example soft contact |
538,842 | 18.05.2022 14:45:21 | 14,400 | 186112d9924e54254da7830fed1e5dddcf0d0458 | simplified terminology | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -151,17 +151,14 @@ class ConfigureProblem:\nif rigidbody_dynamics == Transcription.CONSTRAINT_FD or rigidbody_dynamics == Transcription.CONSTRAINT_ID:\nCon... | Python | MIT License | pyomeca/bioptim | simplified terminology |
538,855 | 18.05.2022 15:21:25 | 14,400 | 65bd3464f1962fe5e0dd66dff20e954bd8d49840 | changed len to shape | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/plot.py",
"new_path": "bioptim/gui/plot.py",
"diff": "@@ -343,7 +343,7 @@ class PlotOcp:\nnp.nan,\nnp.zeros((nlp.states.shape, 2)),\nnp.zeros((nlp.controls.shape, 2)),\n- np.zeros((len(nlp.parameters), 2)),\n+ np.zeros((nlp.parameters.shape, 2)),\n... | Python | MIT License | pyomeca/bioptim | changed len to shape |
538,842 | 19.05.2022 15:10:21 | 14,400 | 06508241ea3d12de1a7c282e86ea243dc5de62e9 | if cases enhanced | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -127,17 +127,18 @@ class ConfigureProblem:\nfatigue: FatigueList\nA list of fatigue elements\n\"\"\"\n+\n+ if nlp.model.nbSoftContacts() != 0:\nif (\nsoft_... | Python | MIT License | pyomeca/bioptim | if cases enhanced |
538,842 | 19.05.2022 16:00:15 | 14,400 | 0f0ebd2bfc2acbc20056c95e43f2a082b0365c34 | Transcription replaced by RigiBodyDynamics and SoftContactDynamics | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -1500,12 +1500,19 @@ The type of integration used to integrate the cost function terms of Lagrange:\n- RECTANGLE: The integral is approximated by a rectangle rule (Left Riemann sum)\n- TRAPEZOIDAL: The integral ... | Python | MIT License | pyomeca/bioptim | Transcription replaced by RigiBodyDynamics and SoftContactDynamics |
538,842 | 19.05.2022 16:54:22 | 14,400 | 36c700e0ebfcbe4471a1faf86eeb0d51686eabb4 | small adjustement on the docstring | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/dynamics_evaluation.py",
"new_path": "bioptim/dynamics/dynamics_evaluation.py",
"diff": "@@ -7,9 +7,9 @@ class DynamicsEvaluation:\nAttributes\n----------\ndxdt: Union[MX, SX]\n- The derivative of the states\n+ The derivative of the states xdo... | Python | MIT License | pyomeca/bioptim | small adjustement on the docstring |
538,842 | 24.05.2022 14:54:18 | 14,400 | 2b860c3a27ff1584edbc120ebaf20daa49620ec5 | some review corrections | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/dynamics_functions.py",
"new_path": "bioptim/dynamics/dynamics_functions.py",
"diff": "@@ -100,6 +100,11 @@ class DynamicsFunctions:\nwhich rigidbody dynamics should be used (EXPLICIT, IMPLICIT, SEMI_EXPLICIT)\nfatigue : FatigueList\nA list of... | Python | MIT License | pyomeca/bioptim | some review corrections |
538,842 | 24.05.2022 16:26:53 | 14,400 | 298e87aadecef13bf20c012d7926e1f63285357c | the test that crash to be modfied | [
{
"change_type": "MODIFY",
"old_path": "tests/test_dynamics.py",
"new_path": "tests/test_dynamics.py",
"diff": "@@ -487,7 +487,7 @@ def test_implicit_soft_contacts_errors(dynamics):\n@pytest.mark.parametrize(\n\"dynamics\",\n- [DynamicsFcn.TORQUE_ACTIVATIONS_DRIVEN, DynamicsFcn.MUSCLE_DRIVEN],\n+ [D... | Python | MIT License | pyomeca/bioptim | the test that crash to be modfied |
538,842 | 24.05.2022 16:28:22 | 14,400 | 5af800b29e725463837f6d225274964677bdc6a2 | explicit or implicit defects
It looks fine like this | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -157,11 +157,12 @@ class ConfigureProblem:\nConfigureProblem.configure_q(nlp, True, False)\nConfigureProblem.configure_qdot(nlp, True, False, True)\nConfig... | Python | MIT License | pyomeca/bioptim | explicit or implicit defects
It looks fine like this |
538,848 | 27.05.2022 13:55:56 | 14,400 | 4969fb94bc03fc16343dd4be4bdd6b0b5b8fe4d0 | Moved the codecov test to MacOSx | [
{
"change_type": "MODIFY",
"old_path": ".appveyor.yml",
"new_path": ".appveyor.yml",
"diff": "# Build worker image (VM template)\nimage:\n+ - macos\n- Ubuntu2004\n- Visual Studio 2019\n- - macos\n# set clone depth\nclone_depth: 5 # clone entire repository history if not defined\n@@ -59,5 +59,5 @@ te... | Python | MIT License | pyomeca/bioptim | Moved the codecov test to MacOSx |
538,842 | 27.05.2022 17:14:35 | 14,400 | 6b808ab709c819aa3167a2ad58faefed26fe4f1f | small hint on a function | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/dynamics_functions.py",
"new_path": "bioptim/dynamics/dynamics_functions.py",
"diff": "@@ -46,7 +46,7 @@ class DynamicsFunctions:\n\"\"\"\n@staticmethod\n- def custom(states: MX.sym, controls: MX.sym, parameters: MX.sym, nlp):\n+ def custom(st... | Python | MIT License | pyomeca/bioptim | small hint on a function |
538,842 | 27.05.2022 17:32:36 | 14,400 | fe6d5c61fd2fec9eb7f234ebd87a56904d78e9ee | new enums and review | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -94,6 +94,9 @@ As a tour guide that uses this binder, you can watch the `bioptim` workshop that\n- [CostType](#enum-costtype)\n- [SolutionIntegrator](#enum-solutionintegrator)\n- [IntegralApproximation](#enum-in... | Python | MIT License | pyomeca/bioptim | new enums and review |
538,861 | 30.05.2022 10:16:11 | 14,400 | de87751446dafb8fe7833a119be1458609652825 | tested examples
examples tested (bioptim/examples):
muscle_driven_with_contact/*
muscle_driven_ocp/*
moving_horizon_estimations/* | [
{
"change_type": "MODIFY",
"old_path": "bioptim/examples/moving_horizon_estimation/cyclic_nmpc.py",
"new_path": "bioptim/examples/moving_horizon_estimation/cyclic_nmpc.py",
"diff": "@@ -94,7 +94,7 @@ def main():\n# Solve the program\nsol = nmpc.solve(update_functions, solver=Solver.IPOPT(show_online... | Python | MIT License | pyomeca/bioptim | tested examples
examples tested (bioptim/examples):
- muscle_driven_with_contact/*
- muscle_driven_ocp/*
- moving_horizon_estimations/* |
538,842 | 31.05.2022 14:14:21 | 14,400 | 1991560bf0e742299bca5cc6e4f43cfa30112aec | small fix on a constraint function | [
{
"change_type": "MODIFY",
"old_path": "bioptim/limits/multinode_constraint.py",
"new_path": "bioptim/limits/multinode_constraint.py",
"diff": "@@ -283,7 +283,7 @@ class MultinodeConstraintFunctions(PenaltyFunctionAbstract):\npre_com = nlp_pre.model.CoM(states_pre[nlp_pre.states[\"q\"].index, :]).to... | Python | MIT License | pyomeca/bioptim | small fix on a constraint function |
538,861 | 01.06.2022 16:18:49 | 14,400 | 57f75cea4d19d45d8dc27022849c02a10e4613b4 | first draft of yet to be added free floating dynamics | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/dynamics_functions.py",
"new_path": "bioptim/dynamics/dynamics_functions.py",
"diff": "@@ -451,6 +451,36 @@ class DynamicsFunctions:\ntau = muscles_tau + residual_tau if residual_tau is not None else muscles_tau\nreturn DynamicsFunctions.conta... | Python | MIT License | pyomeca/bioptim | first draft of yet to be added free floating dynamics |
538,855 | 10.06.2022 09:48:24 | 14,400 | b0b7e9d0c98f4dbfd3e38bf898afb0a8ded3579b | changed the example to match symmetry_by_mapping/constraint
This change is far from crutial, it can be discarded if not desirable | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "bioptim/examples/torque_driven_ocp/phase_transition_uneven_variable_number_by_bounds.py",
"diff": "+import biorbd_casadi as biorbd\n+from bioptim import (\n+ OptimalControlProgram,\n+ DynamicsList,\n+ DynamicsFcn,\n+ ObjectiveList,\n+ Constraint... | Python | MIT License | pyomeca/bioptim | changed the example to match symmetry_by_mapping/constraint
This change is far from crutial, it can be discarded if not desirable |
538,855 | 10.06.2022 11:03:22 | 14,400 | ab8d812d47298519470ade3611f6bfc6e014a649 | Changed names of the variables on graphs (handled quaternions) | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -708,7 +708,18 @@ class ConfigureProblem:\nIf the generalized velocities should be a control\n\"\"\"\n- name_qdot = [str(i) for i in range(nlp.model.nbQdot... | Python | MIT License | pyomeca/bioptim | Changed names of the variables on graphs (handled quaternions) |
538,842 | 10.06.2022 11:37:23 | 14,400 | df9354264a920eaf6922585cb92823e151888f32 | more information to detailed_cost() | [
{
"change_type": "MODIFY",
"old_path": "bioptim/optimization/solution.py",
"new_path": "bioptim/optimization/solution.py",
"diff": "@@ -1151,7 +1151,7 @@ class Solution:\nval, val_weighted = self._get_penalty_cost(nlp, penalty)\nrunning_total += val_weighted\n- self.detailed_cost += [{\"name\": pena... | Python | MIT License | pyomeca/bioptim | more information to detailed_cost() |
538,855 | 10.06.2022 17:12:55 | 14,400 | e63d2b3510e500eb44c795bcca93d8451329eab4 | added ocp to arguments | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -52,19 +52,19 @@ class ConfigureProblem:\nname: str, name_elements: list, nlp, as_states: bool, as_controls: bool, combine_state_control_plot: bool = False... | Python | MIT License | pyomeca/bioptim | added ocp to arguments |
538,855 | 10.06.2022 17:13:17 | 14,400 | b1e9850375f52cd55b4720707ce2aabd8cdcdd1d | Added a phase_mapping | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -655,12 +655,29 @@ class ConfigureProblem:\nn_cx = nlp.ode_solver.polynomial_degree + 2 if isinstance(nlp.ode_solver, OdeSolver.COLLOCATION) else 2\ncx = d... | Python | MIT License | pyomeca/bioptim | Added a phase_mapping |
538,855 | 10.06.2022 17:13:59 | 14,400 | e78c06e4e595a427c1bf5416e607ac3357062838 | removed warning since it works now :) | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/plot.py",
"new_path": "bioptim/gui/plot.py",
"diff": "@@ -218,10 +218,6 @@ class PlotOcp:\nUse the ode defined by OCP or use a separate integrator provided by scipy\n\"\"\"\n- for i in range(1, ocp.n_phases):\n- if len(ocp.nlp[0].states[\"q\"]) != ... | Python | MIT License | pyomeca/bioptim | removed warning since it works now :) |
538,855 | 10.06.2022 17:14:32 | 14,400 | 8b99ae0650f1ca32387e52a5170ca3755c9f6bbc | added bounds only for the variables present | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/plot.py",
"new_path": "bioptim/gui/plot.py",
"diff": "@@ -477,6 +477,7 @@ class PlotOcp:\nlegend_without_duplicate_labels(ax)\n+ mapping_idx = 0\nfor j, ax in enumerate(axes):\nintersections_time = self.find_phases_intersections()\nfor time in inte... | Python | MIT License | pyomeca/bioptim | added bounds only for the variables present |
538,855 | 13.06.2022 11:31:52 | 14,400 | cb304b5e81c7ea1a467f30006c9623dd9cc9546a | ylim is now computed from the min/max of all the phases | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/plot.py",
"new_path": "bioptim/gui/plot.py",
"diff": "@@ -356,9 +356,11 @@ class PlotOcp:\n# No graph was setup in problem_type\nreturn\n+ y_min_all = [None for _ in self.variable_sizes[0]]\n+ y_max_all = [None for _ in self.variable_sizes[0]]\nsel... | Python | MIT License | pyomeca/bioptim | ylim is now computed from the min/max of all the phases |
538,855 | 13.06.2022 12:00:29 | 14,400 | 4433e5a84454b21b1f499f16677ae2fa848f8aa5 | moved the name redefinition in a function as requested | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -70,6 +70,29 @@ class ConfigureProblem:\nAutomatic mapping duplicator basing the values on the another mapping\n\"\"\"\n+ @staticmethod\n+ def _modifying_v... | Python | MIT License | pyomeca/bioptim | moved the name redefinition in a function as requested |
538,855 | 13.06.2022 16:06:51 | 14,400 | 3fa8e5fc04a6afffd34c1d19f820557734b589d8 | moved the dof name list builder | [
{
"change_type": "MODIFY",
"old_path": "bioptim/dynamics/configure_problem.py",
"new_path": "bioptim/dynamics/configure_problem.py",
"diff": "@@ -74,10 +74,10 @@ class ConfigureProblem:\ndef _modifying_variable_names(nlp, type):\nif nlp.model.nbQuat() == 0:\n- new_name = [name.to_string() for name i... | Python | MIT License | pyomeca/bioptim | moved the dof name list builder |
538,855 | 13.06.2022 16:07:47 | 14,400 | 57f72d048092fc4bffba0b84701bb71509b6ff5b | changed indexing and where to take the legend | [
{
"change_type": "MODIFY",
"old_path": "bioptim/gui/plot.py",
"new_path": "bioptim/gui/plot.py",
"diff": "@@ -369,8 +369,7 @@ class PlotOcp:\nelse:\nnb = max(\n[\n- max(nlp.plot[variable].phase_mappings.map_idx) + 1 if variable in nlp.plot else 0\n- for nlp in self.ocp.nlp\n+ len(nlp.plot[variable].... | Python | MIT License | pyomeca/bioptim | changed indexing and where to take the legend |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.