Problem #1, MATLAB Code (save as an M file)
%MATLAB code (optimization routine), try help fmincon for more details % Inline option for specifying functions
[x, fval]= fmincon(inline('-x(1)'),[ 1;1],[1 1 ; 0 -1],[1;0])
Additional Resources
Problem 1 Home
Problem 1 Matlab Code
Probem 1 MPL Code
Problem 1 Excel
Problem 1 LINDO Code
Teaching Home