Project contains examples for using MATLABs PSO and GA algorithms for finding MPC matricies.
- Clone Project
- Clone Project MORUS_MATLAB
- Open MATLAB
- Position in MATLAB_PSO_GA folder
- addpath('path_to_MORUS_MATLAB')
- run one of the algorithams
Examples are made in MATLAB 2019a
This project is licensed under the GNU License - see the LICENSE.md file for details
- Basic example for using MATLAB GA and PSO (for other purposes just change cost function, upper and lower limits, number of optimizied variables )
- Inspiration : finding desire region for MPC control