Gurobi: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 15: Line 15:
==Using Gurobi Within an Interactive Shell == <!--T:6-->
==Using Gurobi Within an Interactive Shell == <!--T:6-->


  [gra-login2:~] salloc --time=1:00:0 --cpus-per-task=8 --mem=4000 --account=def-xyz
  [gra-login2:~] salloc --time=1:00:0 --cpus-per-task=8 --mem=1G --account=def-xyz
  [gra800:~] module load gurobi  
  [gra800:~] module load gurobi  
  [gra800:~] gurobi.sh
  [gra800:~] gurobi.sh
Line 25: Line 25:
  gurobi> m.tune()
  gurobi> m.tune()
  gurobi> help()
  gurobi> help()
==Using Gurobi Command-Line Tools== <!--T:7-->
[gra-login2:~] salloc --time=1:00:0 --cpus-per-task=8 --mem=1G --account=def-xyz
[gra800:~] module load gurobi
[gra800:~] gurobi_cl Threads=8 $GUROBI_HOME/examples/data/glass4
[gra800:~] export LD_LIBRARY_PATH=$GUROBI_HOME/lib:$LD_LIBRARY_PATH
[gra800:~] grbtune Threads=8 $GUROBI_HOME/examples/data/glass4
cc_staff
1,857

edits