Solving Optimization Problems With Matlab