MATLAB Syntex Problem for optimization
Mostrar comentarios más antiguos
Hi Everyone,
I am working on LNG plant optimization and using Matlab and Hysys as optimization and process simulation software and I have interfaced them using a spreadsheet.
Now, Hysys calculates values of variables x1, x2, x3, x4 and send to MATLAB, which optimizes them and send back the values to Hysys.
The sum of these four variables should be equal to one, that is x1+x2+x3+x4=1, that is if value of x1 is reduced by MATLAB then the values of remaining variables should be increased to make the sum equals 1.
I am not figuring out a way to correctly write in MATLAB. How should I formulate it?
Looking forward to your help.
Thanks.
2 comentarios
John D'Errico
el 18 de Sept. de 2020
Did you try fmincon? How about GA? Do you have either the optimization toolbox, or the global optimization toolbox?
Rasel Ahmed
el 18 de Sept. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Quadratic Programming and Cone Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!