Taifead r-phoist: Numerical optimization