Hello, I am currently working on implementing a mixed integer programing problem to find optimal actions in a dataset. Due to the format of the program I believe it can not be run in the modeling objectives. Currently I have the function running in a lightweight transform, however the build time is very slow (build sometimes takes 30 minutes sometimes 5 hours, and on a local machine takes about 10). Additionally the input dataset is roughly 500k rows and pandas is being used within the implementation.
I am wondering if there is any reason that the build time might be so long and if it is a problem related to light transforms or if this problem would likely be solved by transitioning the pandas implementation to a polars implementation or similar.