Originally posted by: SystemAdmin
>
>
> If I run the executable in terminal, the license is actually working; but if I switch back to KDevelop (an IDE in Linux), and run the program within KDevelop, then the license file can't be found. I guess this shows that the license file is correct and Cplex can indeed find it. But for some reason, it is not loaded in KDevelop... Very weird.....
I'm not familiar with KDevelop. If it has an option to set run-time environment variables, try putting the license file export command there. It may be that KDevelop does not use the environment variables set in your bash profile.
/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