I\'m attempting to use scipy.optimize.minimize to solve a non-linear system. The goal is that the implied prices from the output amounts would match the non-zero values specifi