Gurobi: Difference between revisions

Jump to navigation Jump to search
Marked this version for translation
No edit summary
(Marked this version for translation)
Line 257: Line 257:
}}
}}


== Using Gurobi with Java ==
== Using Gurobi with Java == <!--T:210-->


<!--T:211-->
To use Gurobi with Java, you will also need to load a Java module and add an option to your Java command in order to allow the Java virtual environment to find the Gurobi libraries. A sample job script is below:
To use Gurobi with Java, you will also need to load a Java module and add an option to your Java command in order to allow the Java virtual environment to find the Gurobi libraries. A sample job script is below:
{{File
{{File
Line 269: Line 270:
#SBATCH --mem=4096M  # memory per CPU (in MB)
#SBATCH --mem=4096M  # memory per CPU (in MB)


<!--T:212-->
module load java/14.0.2
module load java/14.0.2
module load gurobi/9.1.2
module load gurobi/9.1.2
Bureaucrats, cc_docs_admin, cc_staff
2,306

edits

Navigation menu