# Label equations with numbers with optidef

This might be a dumb question but I am writing my model with optidef.

Using such a environment

\documentclass[a4paper]{article}
\usepackage{remreset}
\usepackage [short]{optidef}
\usepackage{listings}
\usepackage{enumitem}

\lstset{basicstyle=\ttfamily,breaklines=true}
%Title Page
\title{ \\ Something \\ \textnormal{Version -2}}

\begin{document}
\maketitle

\begin{mini#}|sizeFormat|[constraintFormat]<break>
{optimizationVariable}
{objectiveFunction\label{objective}}
{\label{optimizationProblem}}
{optimizationResult}
.
.
\end{mini#}
\end{document}


Then the equations are labelled as (1a)..(1z)

The problem is that I have many equaltions here that go beyong 26 so I got this kind of error.

Latex error: Counter too large


My question is how I can change the label into numbers like (1) (2)...so that I can avoid this problem?

Many thanks!

• Welcome to TeX.SE...Can you post your MWE as in executable format? – MadyYuvi Oct 16 at 11:05