RoutineBase.run#
- RoutineBase.run(force_init=False, no_code=True, **kwargs)[source]#
Run the routine.
Force initialization (force_init=True) will do the following: - Rebuild the system matrices - Enable all constraints - Reinitialize the optimization model
- Parameters:
- force_init: bool
Whether to force initialization.
- no_code: bool
Whether to show generated code.