_$rapyd$_in optimization