Optimization function for a cantilever beam in MATLAB using the built-in function FMINCON, as well as two optimizations programs I wrote myself using the barrier method, and the penalty function method.