NMPC ==== Solves a nonlinear program every clock step from a JSON file (needs Ipopt). ``nmpc`` · control · no feedthrough: a feedback loop may pass through it .. raw:: html .. container:: pb-prose The file is the optimization toolkit's NLP form (``variables``, ``objective``, ``constraints``), solved every clock step. It needs a build with Ipopt. Inputs ------ .. list-table:: :header-rows: 1 * - Port - Type - Unit - Components * - ``y`` - numbers - — - — * - ``ref`` - numbers - — - — * - ``x0`` - numbers - — - — Outputs ------- .. list-table:: :header-rows: 1 * - Port - Type - Unit - Components * - ``u`` - numbers - — - — * - ``status`` - text - — - — * - ``iterations`` - signal - — - — * - ``solve_time`` - signal - — - — Parameters ---------- .. list-table:: :header-rows: 1 * - Param - Type - Default - Options or unit * - ``file`` - file - — - — * - ``max_time`` - number - ``0.0`` - — * - ``tol`` - number - ``1e-07`` - — * - ``max_iter`` - number - ``500.0`` - —