Skip to content

max_iter argument no longer works  #157

@ss2562

Description

@ss2562

I wonder why the max_iter argument no longer functions in inverse_kinematics.inverse_kinematic_optimization(). There is this line:

if max_iter is not None:
   logs.logger.info("max_iter is not used anymore in the IK, using it as a parameter will raise an exception in the future")

Yet both optimisation functions have a max iterations argument:
scipy.optimize.minimize() has options={"maxiter":max_iter}
scipy.optimize.least_squares() has max_nfev=max_iter

It would be useful to have this feature again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions