Minimizing a function in one variable in Matlab

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
vasqueza34
Messages
1
Reaction score
0
This problem was originally a multi objective problem but using scalarization it can be transformed to the following:

Min: -p'*x + u*x'*V*x subject to 1*x=1

-u is the risk aversion index that I wish to vary from .1 to 100
-V is a (4x4) variance covariance matrix
-p is the (4x1) expected return vector, p' is (1x4)
-x is the (4x1) asset weight vector I wish to solve for
-the sum of x is 1 (the only constraint)

I've tried the fmincon function but don't know how to set it up.
 
Physics news on Phys.org