cc_staff
653
edits
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 ${ | gurobi_cl ${GUROBI_HOME}/examples/data/coins.lp | ||
}} | }} | ||
Line 80: | Line 80: | ||
|contents= | |contents= | ||
#!/bin/bash | #!/bin/bash | ||
#SBATCH --time=0:30 | #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 ${ | gurobi.sh ${GUROBI_HOME}/examples/python/facility.py | ||
}} | }} |