notebook for interactive optimization