Dynamic LP
==========
Solves a linear program every clock step from a JSON file.
``lp_step`` · control · no feedthrough: a feedback loop may pass through it
.. raw:: html
Dynamic LPfn
file
max_time0
max_iter4000
.. container:: pb-prose
The file is the optimization toolkit's LP form: ``c``, ``A``, ``l`` and ``u``, solved every clock step.
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``y``
- numbers
- —
- —
* - ``ref``
- 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``
- —
* - ``max_iter``
- number
- ``4000.0``
- —