I am writing an optimisation problem with 50 constraints. My code is below.
\begin{equation*}
\begin{aligned}
{\underset{x_{i}}{\textnormal{minimise}}} \quad
&800\left(\sum_{i=1}^{89}x_i\right)+99\left(x_{34}+x_{81}\right) \\
\mathllap{\text{subject to} \quad}
&x_{11}+x{12}\geq 1 \\
&x_{13}+x{14}\geq 1 \\
&x_{18}+x{19}\geq 1 \\
....
\end{aligned}
\end{equation*}
For convenience, I have denoted the remaining constraints by the ellipsis "...". For some reason, the whole optimisation problem begins on a new page once the contraints reach the bottom of the existing page. Not only this, but the constraints that do not fit on this single page are not displayed.
Is there a way to intelligently format this optimisation problem?
Edit
I am using the packages
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
%% Sets page size and margins
\usepackage[a4paper,top=2.5cm,bottom=2.5cm,left=2.5cm,right=2.5cm,marginparwidth=1.75cm]{geometry}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{mathtools}
\usepackage[framed,numbered,autolinebreaks,useliterate]{mcode}


\allowdisplaybreaksbeforebegin{equation*}? – Mico Nov 17 '20 at 05:52\mathllap"wrapper"? I'd get rid of it. – Mico Nov 17 '20 at 05:58\allowdisplaybreaks, but it did not work (does it require a particular package?) I removed\mathllap(I took that from a previous example that I wrote usingrcases). – M B Nov 17 '20 at 06:00\allowdisplaybreaksis a macro provided by theamsmathpackage -- the same package that provides theequation*andalignedenvironments. The purpose of\allowdisplaybreaksis to, well, allow page breaks in multi-line displayed equation environments. (As you've discovered, such page breaks are not allowed by default.) – Mico Nov 17 '20 at 06:12\mathllapdoes nothing except create code clutter. – Mico Nov 17 '20 at 06:13\allowdisplaybreaksbefore\begin{equation*}. That is, it did not change anything. – M B Nov 17 '20 at 06:16equation*itself, this has been copied and pasted into my post. The only difference is that I have left out all of the constraints for simplicity (in my post I have included the first three constraints, namely:x_{11}+x{12}\geq 1,x_{13}+x{14}\geq 1, andx_{18}+x{19}\geq 1... I did not think it would be necesary to include all 50 constraints). – M B Nov 17 '20 at 06:23