how to optimize chi_i=column vector for each agent using fmincon?

Salam all,
Does anyone know how to solve this optimization for multiagent? the size of vector chi_i is always Chi_i(36,1) which is function X. Chi_i=[X(1);X(2);.....;X(36)] and have 36 states.
I've tried to use fmincon and run for all agent i but still cannot get the correct estimation results without any error.
fun = @(X)1/M*norm(([X(1);X(2);X(3);X(4);X(5);X(6);X(7);X(8);X(9);X(10);X(11);X(12);X(13);X(14);X(15);X(16);X(17);X(18);X(19);X(20);X(21);X(22);X(23);X(24);X(25);X(26);X(27);X(28);X(29);X(30);X(31);X(32);X(33);X(34);X(35);X(36)] - (I9A*chi_hat(:,i)) - (I9B*(K*chi_hat(:,i)+D))),1) + (mu(:,i) - zeta*Ni1)'*[X(1);X(2);X(3);X(4);X(5);X(6);X(7);X(8);X(9);X(10);X(11);X(12);X(13);X(14);X(15);X(16);X(17);X(18);X(19);X(20);X(21);X(22);X(23);X(24);X(25);X(26);X(27);X(28);X(29);X(30);X(31);X(32);X(33);X(34);X(35);X(36)]+ Tn(i,:)*zeta/2*(norm([X(1);X(2);X(3);X(4);X(5);X(6);X(7);X(8);X(9);X(10);X(11);X(12);X(13);X(14);X(15);X(16);X(17);X(18);X(19);X(20);X(21);X(22);X(23);X(24);X(25);X(26);X(27);X(28);X(29);X(30);X(31);X(32);X(33);X(34);X(35);X(36)]))^2;
X = fmincon(fun,x0,[],[],Aeq,Beq,LB,UB,[],options);
thank you in advance.

Respuestas (0)

Categorías

Más información sobre Genomics and Next Generation Sequencing en Centro de ayuda y File Exchange.

Productos

Versión

R2018a

Preguntada:

el 2 de Feb. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by