my codes for optimization courses in coursera.org (https://class.coursera.org/optimization-002)