Codes for Numerical Optimization