# Remove indent after optimization problem using optidef

Can any help me remove the indentation of the text after defining an optimization equation using the optidef package?

\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[short]{optidef}

\begin{document}

The optimization problem is defined as
\begin{argmini!}
% Optimization variable
{R,L_{\beta},\beta}
% Objective function
{\frac{\left\lVert Z_{\text{FRAC}}(R,L_{\beta},\beta,\omega) - Z_{\text{FEA}}(\omega)\right\rVert^{2}}{\left\lVert Z_{\text{FRAC}}(R,L_{\beta},\beta,\omega) + Z_{\text{FEA}}(\omega)\right\rVert^{2}} \label{eq:objectiveFunction}}
% Optimization problem label
{\label{eq:optimizationProblem}}
% Optimization results
{}
% Constraints
\end{argmini!}
where $Z_{\text{FRAC}}(R,L_{\beta},\beta,\omega)$ is the impedance calculated from the fractional model  and $Z_{\text{FEA}}(\omega)$ is the impedance determined by FEA.

\end{document}


• Did you try adding \noindent? – Bernard Apr 15 '19 at 8:56
• @Bernard it does not help. – Alex Apr 15 '19 at 9:00
• looks like a bug in the package. It's probably best to contact the package authors and ask them to take a look. – thymaro Apr 15 '19 at 10:48
• @thymaro I've now opened an issue on their GitHub: github.com/jeslago/optidef/issues/29 – Alex Apr 15 '19 at 18:13

The issue is fixed in the latest version of optidef on GitHub. Just download optidef.sty and add it to your working directory.