Floating environments created with the
float
package (as
algorithm
is) are incompatible with the
revtex4-1
class.
The only way you have to include such an environment in your document, is to use the floating specifier
H
, which avoids the environment to float.
MWE:
\documentclass[aip, amsmath, amssymb, reprint]{revtex4-1}
\usepackage{graphicx}
\usepackage{dcolumn}
\usepackage{bm}
%\usepackage{float} % loaded by algorithm
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{lipsum} % just for dummy text
\begin{document}
\lipsum[1]
\begin{algorithm}[H]
\caption{Hello}
\label{EPSA}
\begin{algorithmic}[1]
\State $T_m= \min\limits_k (T_c(k)), k_m= \arg\min\limits_k (T_c(k))$
\end{algorithmic}
\end{algorithm}
\lipsum[1]
\end{document}
Src: http://tex.stackexchange.com/questions/231191/algorithm-in-revtex4-1