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

The file is the optimization toolkit’s LP form: c, A, l and u, solved every clock step.

Inputs#

Port

Type

Unit

Components

y

numbers

—

—

ref

numbers

—

—

Outputs#

Port

Type

Unit

Components

u

numbers

—

—

status

text

—

—

iterations

signal

—

—

solve_time

signal

—

—

Parameters#

Param

Type

Default

Options or unit

file

file

—

—

max_time

number

0.0

—

max_iter

number

4000.0

—