Solve LP
========
Solves min c'x with l <= Ax <= u from a JSON file (OSQP).
``lp`` · optimization
.. raw:: html
Solve LPstep
file
eps_abs0
eps_rel0
max_iter4000
polish
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``in``
- step
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``out``
- step
- —
- —
* - ``x``
- numbers
- —
- —
* - ``objective``
- signal
- —
- —
* - ``iterations``
- signal
- —
- —
* - ``status``
- text
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``file``
- file
- —
- —
* - ``eps_abs``
- number
- ``1e-05``
- —
* - ``eps_rel``
- number
- ``1e-05``
- —
* - ``max_iter``
- number
- ``4000.0``
- —
* - ``polish``
- boolean
- ``True``
- —