Introduction to optimization and operations research
MATH-265
Exercise Sessions
Page content
Exercises:
Each week you have exercises that will be solved during the exercise sessions. Most of them require to code in Python. Therefore, we kindly ask you to bring your computer to the lab sessions.
You will be provided with pre-coded Jupyter Notebooks, containing the necessary instructions. Most of the Python code has already been provided, so that you should focus mainly on the logic of the code, and not on its exact syntax.
The TAs will help answer questions that you have about these exercises. Preferably, you should look at the exercises before the exercise session to get familiarized with them and be able to ask questions.
We also encourage you to use tools such as ChatGPT as a support resource. However, it is important to use these tools wisely:
- Be specific in your questions. Clearly describe what you are trying to do, the error you encounter, or the code snippet that does not work. Vague prompts will usually result in vague or unhelpful answers.
- Be critical with the responses. Do not assume that the first answer is correct; always check whether the code runs, whether it makes sense, and whether it aligns with the course material.
Use it primarily for Python syntax and coding support. ChatGPT is excellent for clarifying how to implement a loop, fix an error, or understand a function call. For the underlying optimization concepts and logic, rely instead on your own reasoning and the course materials.