Expressions are a useful tool, however they can become confusing as the variables all are global. Changing x changes the value of any expression involving x. This is not usually how we want things to ...
This repo contains some Python tooling to simplify linear combinations of piecewise linear functions, then finally emit them (and their first derivatives) as Excel formulas. The motivating application ...
We currently use parameters of type: piecewise_linear to specify parameters of piecewise functions. These parameters are loaded using get_piecewise_parameters. We thereby assume that the pieces of the ...