Human: When you have a constraint, how do you find the minimum of a function? Assistant: 
You can use a method called gradient descent. Gradient descent is a method for finding the minimum of a function. It works by starting at a random point and then moving in the direction of the negative gradient of the function.