Operations Research, Optimization, Routing, Software Engineering, Hands On Tutorials.
solution is conditional only to its existence in session_state, not to the “execute” button. Furthermore, some operations might be expensive, and it is useful to cache their results to avoid wasting time with re-runs. Remember: Streamlit runs your script from top to bottom at every user interaction