Ive been running an optimization of swmm using matlab. I was hoping to use the multistart and ga algorithms in parallel mode so I could make use of a multicore PC. I havent been able to get this running (serial optimization is ok), since parallel calls are being made to SWMM and something is being overwritten..
What Ive tried is:
- rename SWMM5.exe in matlab folder to SWMM5_1,2,3 corresponding to the core no.
- assign the current .inp file to the current core number
- cycle through the core numbers as the optimization function calls SWMM
- Ive also renamed all the .m files which calculate the objective funcion to _1,2,3 etc
Ive noticed a .ini file in the matlab folder - does this also need to be modified?