I am having convergence issues with a large optimization and I believe the problem may be related to the way I am declaring the objective and the constraints with relation to the gradients provided by the respective components.
Is there a way to provide gradients for a constraint or objective defined in the following manner (with math in the constraint/objective statement): self.driver.add_constraint('separation/10 > %s/10' % minimum_distance)
when the component is only providing the gradient of separation
, not separation/10
.