In the four demo Jupyter notebook, this is done using the Pyomo Optimization Modeling in Python package.
Four cases are considered, as in the picture from left to:
- PP: pinned below, pinned above
- CP: clamped below, pinned above
- CC: clamped below, clamped above
- CF: clamped below, free above
Dependencies
Pyomo and Ipopt, for optimization, are installed automatically from the notebooks if needed.
Bokeh and Holoviews, for graphics, need to be installed beforehands.