Using Gurobi with Java
回答済みI'm in the process of figuring out how to use Gurobi with Java. I obtained the license and installed the Gurobi Optimizer package by downloading the ‘gurobi12.0.3_macos_universal2.pkg’ from this page: https://www.gurobi.com/downloads/gurobi-software/. I followed the installation instructions which led me to having the gurobi.lic and gurobi.log files in my /Users/myname directory. I already have my Java project set up, so I followed the instructions on this page https://support.gurobi.com/hc/en-us/articles/19474118568977-How-do-I-install-Gurobi-for-Java to add the dependency to my pom.xml file (The dependency tag that I've added to my file doesn't include the tag for the core package)
I'm trying to figure out if this is enough or if I need to add the core package tag <classifier>core</classifier> to the dependency specification. Also, do I need to set the environment variable with LD_LIBRARY_PATH ?
-
Your current setup should be sufficient to start using Gurobi with Java. The full package contains all necessary solver libraries and should work seamlessly with your existing installation. Are you having issues? If so, what is the error message you are getting?
0
サインインしてコメントを残してください。
コメント
1件のコメント