problem12_1 - function f = objectfun12(x) f =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function [x] = problem12 %Problem 12.1 % Define initial values of x1 and x2 x0 = [0.1,0.1]; options = optimset('Display','Iter','MaxIter',100,'MaxFunEvals',500,'Algorithm','active- set'); x = fmincon(@objfun12,x0,[],[],[],[],[1,1],[],@confun12,options);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: function f = objectfun12(x) f = 8.46*x(1)*x(2); function [c,ceq] = confun12(x) c = [3.6/((x(1)^3)*x(2)) - 1.0; 9/((x(1)^2)*x(2)) - 1.0]; ceq = ;...
View Full Document

This note was uploaded on 09/27/2011 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.

Ask a homework question - tutors are online