Gurobi/fr: Difference between revisions

Jump to navigation Jump to search
Replaced content with "=== Exemple avec Python ==="
No edit summary
(Replaced content with "=== Exemple avec Python ===")
Line 92: Line 92:
Référez-vous à [https://support.gurobi.com/hc/en-us/articles/360013195592-How-do-I-cite-Gurobi-software-for-an-academic-publication- ''How do I cite Gurobi software for an academic publication?'']
Référez-vous à [https://support.gurobi.com/hc/en-us/articles/360013195592-How-do-I-cite-Gurobi-software-for-an-academic-publication- ''How do I cite Gurobi software for an academic publication?'']


<div class="mw-translate-fuzzy">
=== Exemple avec 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
  |name=gurobi-py_example.sh
  |lang="sh"
  |contents=
#!/bin/bash
#SBATCH --account=def-group  # some account
#SBATCH --time=0-00:30        # time limit (D-HH:MM)
#SBATCH --cpus-per-task=1    # number of CPUs (threads) to use
#SBATCH --mem-per-cpu=1000M  # memory per CPU (in MB)
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
rsnt_translations
56,430

edits

Navigation menu