Gurobi: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 69: Line 69:
echo "Threads ${SLURM_CPUS_ON_NODE:-1}" > gurobi.env
echo "Threads ${SLURM_CPUS_ON_NODE:-1}" > gurobi.env


gurobi_cl ${EBROOTGUROBI}/examples/data/coins.lp
gurobi_cl ${GUROBI_HOME}/examples/data/coins.lp
}}
}}


Line 80: Line 80:
   |contents=
   |contents=
#!/bin/bash
#!/bin/bash
#SBATCH --time=0: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 --mem-per-cpu=1000M  # memory per CPU (in MB)
#SBATCH --mem-per-cpu=1000M  # memory per CPU (in MB)
module purge   
module purge   
Line 88: Line 89:
echo "Threads ${SLURM_CPUS_ON_NODE:-1}" > gurobi.env
echo "Threads ${SLURM_CPUS_ON_NODE:-1}" > gurobi.env


gurobi.sh  ${EBROOTGUROBI}/examples/python/facility.py
gurobi.sh  ${GUROBI_HOME}/examples/python/facility.py
}}
}}
cc_staff
653

edits