MISO: check for algorithm argument.