Optimization Implementation

CPLEX

Gurobi

MOSEK

CVX

NEOS

Benchmarks for Optimization Software

Coding Languages

Coding Style

Code profiling

  • Use valgrind to generate a file “callgrind.out.x” where x is some number
    • requirement: valgrind
    • valgrind --tool=callgrind [call your code with arguments]
  • Use the pythyon code gprof2dot.py
    • requirement: python, graphviz
    • python gprof2dot.py -s -f callgrind ./callgrind.out.x | dot -Tpdf -o output.pdf

Parallel computing

If you want to compare CPUs, the following link might be helpful.