Users are not allowed to change any parameter in the middle of an optimization. However, if you detect that you want to change workmem and strategy during optimizuation then you can stop the optimization, change the parameters and call solve() again. This shoud continue optimization where it stopped but with these two parameters changed.
#CPLEXOptimizers#DecisionOptimization