An implementation of the method of analytic centers