Does your modified program still crash? When I run the model.sav file through the interactive here I cannot reproduce the crash. Also, the .zip files you attached in the previous post is missing the topology.xml file, so I cannot run your original Python code here.
In any case, you have several variables that have the same name. This may cause trouble sooner or later. You can find the duplicate names like this:
import cplex
cpx = cplex.Cplex()
cpx.read('model.sav')
names = dict()
for name in cpx.variables.get_names():
if name in names:
names[name] += 1
else:
names[name] = 1
for name, count in names.iteritems():
if count > 1:
print 'There are', count, 'variables with name', name
You may want to fix this before continuing investigation, just to make sure that this is not the cause for your problems.
#CPLEXOptimizers#DecisionOptimization