truss_125 - % X = quadprog(H,f,,,,,,,x0,OPTIONS) X function...

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

View Full Document Right Arrow Icon
function truss_125 f x0 = [0;0]; x f = [-1000 -500]; f H = 2*[.21650625*10^6 0; .866025*10^6 0]; H options = optimset('Display','Iter','MaxIter',100,. .. 'MaxFunEvals',500,'LargeScale','off'); %X = QUADPROG(H,f,A,b,Aeq,beq,LB,UB,X0,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: % X = quadprog(H,f,,,,,,,x0,OPTIONS) X function f = augcost(x) f x1 = x(1,1); x2 = x(2,1); x f = (0.21650625*10^6)*x1^2 + (0.866025*10^6)*x2^2 - 1000*x1 - 500*x2;...
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