SciCompMod / memilio

Modular spatio-temporal models for epidemic and pandemic simulations
https://scicompmod.github.io/memilio/
Apache License 2.0
52 stars 15 forks source link

Generalize class for optimization problems to arbitrary FlowModels #1025

Open lenaploetzke opened 1 month ago

lenaploetzke commented 1 month ago

Motivation / Current Behaviour

PR #895 implements the example "cpp/examples/ode_seair_optimization.cpp" for solving an optimization problem for a SEAIR model. The implemented class is currently not tested.

Enhancement description

The example should be moved to another location where the functionality can be tested. It should also be possible to generalize the implemented class to define an optimization problem for any FlowModel.

Additional context

No response

Checklist