Gurobi: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 104: Line 104:


<!--T:83-->
<!--T:83-->
This is an example slurm script for solving a [https://www.gurobi.com/documentation/9.5/examples/a_list_of_the_grb_examples.html simple facility location model] using [https://www.gurobi.com/documentation/9.5/examples/facility_py.html Gurobi Python].  The example show how-to pass the [https://www.gurobi.com/documentation/9.5/refman/parameters.html#sec:Parameters Threads] parameter to the [https://www.gurobi.com/documentation/9.5/refman/python_parameter_examples.html Gurobi python interface] using a dynamically created [https://www.gurobi.com/documentation/9.5/quickstart_linux/using_a_grb_env_file.html gurobi.env] file in the current directory to set the number of threads.
This is an example slurm script for solving a [https://www.gurobi.com/documentation/9.5/examples/a_list_of_the_grb_examples.html simple facility location model] using [https://www.gurobi.com/documentation/9.5/examples/facility_py.html Gurobi Python].  The example shows how-to pass the [https://www.gurobi.com/documentation/9.5/refman/parameters.html#sec:Parameters Threads] parameter to the [https://www.gurobi.com/documentation/9.5/refman/python_parameter_examples.html Gurobi python interface] using a dynamically created [https://www.gurobi.com/documentation/9.5/quickstart_linux/using_a_grb_env_file.html gurobi.env] file in the current directory to set the number of threads.
{{File
{{File
   |name=script-py_facility.sh
   |name=script-py_facility.sh
cc_staff
1,857

edits

Navigation menu