Teaching Applied Optimization with Large Language Models
Teachers face both push and pull to address large language models (LLMs) in the classroom. The pull comes from the increasing market demand for critically assessing or using generative AI (GAI) tools, whereas the pressure arises from students’ independent adoption of GAI, regardless of stated classroom policy. A case study at Carnegie Mellon University during fall 2023 with 66 diverse students demonstrated significant shifts when LLMs were used. Notably, office hours for technical Python support dropped significantly, and the learning environment became more equitable, allowing students of varying technical backgrounds to progress at similar rates. Additionally, students showed slight improvements in problem framing but no increase in the time spent analyzing results. Surveys conducted postcourse revealed uniform feedback. Students effectively used ChatGPT for coding tasks such as debugging and learning Python syntax. ChatGPT, combined with OptiGuide, showed useful but unpredictable results in modifying existing models. The survey also highlighted time savings in assignments and projects, especially where clear instructions mimicked the prompts needed for ChatGPT. Interestingly, two distinct student profiles emerged: learners who used ChatGPT to enhance understanding and those who sought to expedite course completion, utilizing any time saved for other activities. Funding: This project is funded in part by Carnegie Mellon University’s Safety21 National University Transportation Center, which is sponsored by the U.S. Department of Transportation. It is also supported by the CMU Block Center for Technology and Society and the CMU Eberly Center for Teaching Excellence and Educational Innovation.
Authors
- Peter Zhang (ORCID: https://orcid.org/0000-0002-0422-834X)
Institutions
- Carnegie Mellon University (US)
Publication Details
- Journal
- INFORMS Transactions on Education
- Published
- 2026-05-12
- DOI
- https://doi.org/10.1287/ited.2024.0096
- Primary Topic
- Artificial Intelligence in Healthcare and Education
- Type
- article
- Field-Weighted Citation Impact
- 0.00