Originally posted by: savant_ning
Hello!
I write a large mip to solve the VRP, and the program in cplex API for python. But I get a error in the program, this is the related program and error in the attachments.
the first attachment is the first variables;
and in the code end. I transform the first variable to a new list, and then do some calculate.
the second attachment is the constraint and the transformed variable calculate
and run this program get a error, Valueerror: 1210:Invalid name --'x' at the end (names:)
is this transform not working?
should I create a new variables to do the constraint and build a link with the first variable?
thank u very much!!!
#DecisionOptimization#MathematicalProgramming-General