optimization MATLAB code based on "Optimization" chapter of "Collective Intelligence" book by Toby Segaran Main stript is "optimization.m" - start with this file. Everything else is either custom MATLAB fucntions or data files.