Originally posted by: SystemAdmin
1. Is env already initialized? I think failure to initialize an environment manifests as a 32201 error, although I would expect it to pop after the first line of your code segment rather than the last line.
2. Does your license on this machine cover MIPs? I'm not sure whether there's an LP-only version of the license, but I seem to recall that there are LP/MIP licences that don't include the barrier optimizer (and maybe not QPs), so maybe there are licenses that do not cover MIPs. Again, I'm not positive, but I think in the license file the single letter option codes in the CPLEX line dictate what you've licensed (and, if I'm right, 'm' probably is the one signifying you're allowed to solve MIPs).
Just guesswork.
/Paul
Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
#CPLEXOptimizers#DecisionOptimization