We created a Python solver which solves a routing problem for a given planning horizon. We would like to use this solver in FlexSim to test the solver for different scenarios. Also we want to test the different parameters, constraints and test best capacities.
To connect the solver I've seen a possible way to connect FlexSim using a custom module with C++ to Python. However, we have no experience in creating DLL's.
Does it take a lot of time to understand creating a DLL that connects to Python? Or is there another way to connect to a Python script?
We need the workflow to be as followed:
1. Generate set of jobs in FlexSim every 15min runtime
2. Send set of jobs with data to Python script
3. Run optimizer
4. Return the suggested routing to FlexSim
5. Execute the plan in FlexSim that is returned
6. Start over again at 1.