Is it possible to use the fmincon function to minimize a function with respect to multiple variables simultaneously?
Show older comments
Hello Everyone! I would like to ask for your help regarding a project I am working on. This is the part of the script recalling the minimization problem:
min_result=Wishart_to_Call_min(Method,CallPrices,ImpliedVol,upper,...
lower,rate,lambdax,LambdaV,LambdaI,Tau,x_t,M,Q,R,I,Sigma,beta,Strikes);
%here starts the minimization procedure
fmincon(@(M,Q,R,Sigma,beta)Wishart_to_Call_min(Method,CallPrices,ImpliedVol,upper,...
lower,rate,lambdax,LambdaV,LambdaI,Tau,x_t,M,Q,R,I,Sigma,beta,Strikes),(M,Q,R,Sigma,beta))
The function Wishart_to_Call_min computes the least squares of the model estimates and the market observations.I have to minimize this function with regard to multiple conditions, namely: M, Q, R and Sigma which are all 2x2 non-symmetrical matrices and beta which is a scalar.
I thought of using fmincon to solve the problem but I do not know whether:
- It could be done in the first place
- How to correctly impose the conditions.
Also consider the following constriction on the parameters:
M has all the elements negative.
Q and Sigma all the elements positive.
R theoretically has all the elements ranging in [-1,1].
beta musy be greater than 0.
Thank you in advance for your time.
-Ixhino
Accepted Answer
More Answers (0)
Categories
Find more on Quadratic Programming and Cone Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!