trlib provides various methods related to the trust region subproblem.