https://123dok.net/document/qo5jrx3k-just-in-time-control-constrained-max-linear-systems.html