MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Write a function to find the values of a design variable vector, *x*, that minimizes a scalar objective function, *f* ( *x* ), given a function handle to *f*, and a starting guess, *x0*, subject to inequality constraints *g* ( *x* )<=0 with function handle *g*. Use a logarithmic interior penalty for the sequential unconstrained minimization technique (SUMT) with an optional input vector of increasing penalty parameter values. That is, the penalty (barrier) function, *P*, is

P(x,r) = -sum(log(-g(x)))/r

where *r* is the penalty parameter.

3 correct solutions
3 incorrect solutions

Last solution submitted on Nov 09, 2013