Hi folks,
I use ortools from python for large MIP task with millions of variables.
It is funny situation that problem definition (variables, constraints, objective) through ortools python API takes more time than problem solving :-)
Maybe you have some working solution for this?
I do not want to completely move from python to c++ in my task.
But consider approaches like:
(1) cython
(2) parallelize problem definition through joblib
1st option I like more.. Maybe you have some example of cython function which takes pandas dataframe as input defines and solves MIP task inside and returns solution also as some pandas data structure?
I deal with XPRESS and SCIP if it matters.
Any ideas, tricks code samples will be highly appreciated.