%
% Operations that usually appear in convex optimization.
%
+\ifx\havemjoconvex\undefined
+\def\havemjoconvex{1}
-% Needed for \operatorname.
-\usepackage{amsopn}
-\input{mjo-common}
+\ifx\operatorname\undefined
+ \usepackage{amsopn}
+\fi
+
+\input{mjo-common} % for \of, at least
% The ``conic combination'' operator.
\newcommand*{\cone}[1]{ \operatorname{cone} \of{{#1}} }
% The "is a face of" and "is a proper face of" relations.
\newcommand*{\faceof}{ \trianglelefteq }
\newcommand*{\properfaceof}{ \triangleleft }
+
+
+\fi