Author(s)
Term
4. term
Education
Publication year
2025
Submitted on
2025-06-06
Pages
74 pages
Abstract
Prescriptive analytics (PSA) combines data processing, machine learning, and mathematical optimisation. However, the existing PSA tools do not always support all of the above-mentioned parts, may be more specialised towards the optimisation part only, or are limited in terms of user-friendliness or developer productivity. This thesis introduces GPO-D (Graph-based Prescriptive Optimisation with Dataflows), a Python library aimed at simplifying PSA workflows using graph-based optimisation modelling and dataflow processes. GPO-D integrates the full PSA workflow with the aim of improving developer productivity. It adopts the concept of Directed Acyclic Graphs from Apache Airflow for managing dataflows and uses CVXPY for solving optimisation problems. Later on, a microgrid problem example is presented, for scheduling solar production, battery charge and discharge cycles. The solution to this example is then used as a base for evaluating the performance and productivity metrics compared to other Python libraries like CVXPY, Pyomo and GBOML. The results show that it achieves similar performance while decreasing the amount of code required.
Keywords
Documents
Colophon: This page is part of the AAU Student Projects portal, which is run by Aalborg University. Here, you can find and download publicly available bachelor's theses and master's projects from across the university dating from 2008 onwards. Student projects from before 2008 are available in printed form at Aalborg University Library.
If you have any questions about AAU Student Projects or the research registration, dissemination and analysis at Aalborg University, please feel free to contact the VBN team. You can also find more information in the AAU Student Projects FAQs.