rodoopt_126 - f x1 = x(1,1); x2 = x(2,1); origcost =...

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

View Full Document Right Arrow Icon
function rodoopt_126 f options = optimset('Display','Iter','MaxIter',100,. .. 'MaxFunEvals',500,'LargeScale','off'); X = fminunc(@,X0,OPTIONS) X function new = cost(x)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: f x1 = x(1,1); x2 = x(2,1); origcost = 12000/(x1*x2^2); o penalty = x1^2 + x2^2 - 400; p w = 10; w f = origcost + w*(penalty)^2;...
View Full Document

This note was uploaded on 09/21/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