CPLEX的配置
第一步:添加cplex.jar
File -> Project structure -> Modules (name: project name) -> add (+) cplex.jar
Cplex.jar
的安装目录:D:Program FilesIBMILOGCPLEX_Studio128cplexlib
第二步:配置 -Djava.library.path
Run -> Configurations -> VM options
添加-Djava.library.path="D:Program FilesIBMILOGCPLEX_Studio128cplexinx64_win64"
- 注意引号
CP的配置
第一步:添加ILOG_CP.jar
File -> Project structure -> Modules (name: project name) -> add (+) ILOG.CP.jar
ILOG_CP.jar
的安装目录:D:Program FilesIBMILOGCPLEX_Studio128cpoptimizerlib
第二步:配置 -Djava.library.path
Run -> Configurations -> VM options
添加-Djava.library.path="D:Program FilesIBMILOGCPLEX_Studio128cplexinx64_win64;D:Program FilesIBMILOGCPLEX_Studio128cpoptimizerinx64_win64"
- 注意引号