rsnt_translations
56,437
edits
(Created page with "# utilisez une version <= 9.0.2 module load StdEnv/2016.4 # or StdEnv/2018.3 module load gurobi/9.0.2") |
No edit summary |
||
Line 81: | Line 81: | ||
=== Gurobi-Python === | === Gurobi-Python === | ||
Le script suivant est un exemple de modèle qui utilise [https://www.gurobi.com/documentation/8.1/refman/py_python_api_overview.html#sec:Python Gurobi-Python]. | Le script suivant est un exemple de modèle qui utilise [https://www.gurobi.com/documentation/8.1/refman/py_python_api_overview.html#sec:Python Gurobi-Python]. | ||
{{File | {{File | ||
Line 88: | Line 87: | ||
|contents= | |contents= | ||
#!/bin/bash | #!/bin/bash | ||
#SBATCH --account=def-group # some account | |||
#SBATCH --time=0-00:30 # time limit (D-HH:MM) | #SBATCH --time=0-00:30 # time limit (D-HH:MM) | ||
#SBATCH --cpus-per-task=1 # number of CPUs (threads) to use | #SBATCH --cpus-per-task=1 # number of CPUs (threads) to use | ||
#SBATCH --mem-per-cpu=1000M # memory per CPU (in MB) | #SBATCH --mem-per-cpu=1000M # memory per CPU (in MB) | ||
# utilisez une version <= 9.0.2 | # utilisez une version <= 9.0.2 |