Jerk Term#

Objective term for minimizing jerk (third derivative of position) in motion optimization.

class biosym.objectives.jerk_term.Objective(model, settings)#

Bases: BaseObjective

Abstract base class for objectives in the biosym package. All objectives should inherit from this class and implement the required methods.

get_gradient()#
Returns:

The gradient of the objective function.

get_objfun()#
Returns:

The objective function.

biosym.objectives.jerk_term.objfun(states_list, globals_dict, settings, info)#

Evaluate the objective function.

Parameters:
  • model – biosym model object.

  • states_list – Dictionary containing the current states.

  • settings – Settings for the objective function.

  • info – Information about the objective function.

Returns:

The evaluated value of the objective function.