I am using the python connector to call a genetic algorithm (GA) in python. The idea is to evaluate multiple vehicle routing solutions from the GA using a parameter variation. The python script is modelled in the main 'on start-up'. However, with a parameter variation, this implies that the entire python script is rerun. I can generate the solutions manually and insert them in Anylogic, but preferably this is directly performed via the python connector. I have tried it with a function also but there the same happens. Any advice on how I can ensure that the python script is called once and that a parameter variation uses these results? Is this even possible in Anylogic?
