Originally posted by: SystemAdmin
[Pokerface said:]
I've added the ILOG_LICENSE_FILE environment variable. Please note that the ilmcheck worked before adding this environment variable, presumably due to installing CPLEX at the default location. See output below:
[color=blue]C:\ILOG\ILM>ilmcheck.exe
Checking license file "c:\ilog\ilm\access.ilm"
License file "c:\ilog\ilm\access.ilm" is correct.[/color]
However, with the addition of that environment variable as the only change from my last test, I no longer get the OPLexception:
[color=blue]An exception occured in the native method OPLsolver.build[/color]
Instead, I now get the OPLexception:
[color=blue]An exception occured in the native method OPLsolver.loadCompiledModelBuffAndDataBuff[/color]
I seams that the base problem is with installation/configuration of OPL. When I run the MyJNIsample, I get "no Access Key for Solver" as the output. I assume this indicates OPL as the problem. See the output below:
[color=blue]C:\ILOG\OPLSt371\examples\component\jni>java -classpath "c:/ILOG/OPLSt371/classes/opljni.jar;." MyJNIsample
Intiantiating the OPLsolver engine...
Intiantiating the error reporter...
Setting the error reporter...
Loading the queens8.mod file...
Solving the model...
runtime error: line 0: [/color] [color=red]no Access Key for Solver[/color]
[color=blue]Deleting the error reporter and the OPLsolver engine...[/color]
Here are the versions of the products I have installed:
ILOG CPLEX 11.0 for Windows x86
ILOG OPLStudio 5.5 for Windows x86
We are actually contemplating an upgrade. My company, Invision Inc, is working with folks at ILOG to determine whether we want to continue with these ILOG products. We have a coordinated effort with Cindy Bartholomew (account manager) at ILOG concerning this. For more details, please see Cindy.
My task is to provide a test environment, and test tools, for ILOG to demonstrate the improvements the new versions will provide. To that end, I'm trying to (first) get my development environment working properly.
Again, please note that this same test works fine in another existing environment here at Invision. Hence, my suspension that this is simply an installation/configuration problem.
I opened case #1-81329756 on Tuesday for this issue as well. I have not been provided a response as yet.
If it would be helpful to contact me, please do so.
Regards,
Chris Skaggs
Sr. Application Architect
770-325-0456
#DecisionOptimization#OPLusingCPLEXOptimizer