Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 767 Bytes

File metadata and controls

35 lines (18 loc) · 767 Bytes

MATLAB_PSO_GA

Project contains examples for using MATLABs PSO and GA algorithms for finding MPC matricies.

Getting Started

  • Clone Project
  • Clone Project MORUS_MATLAB
  • Open MATLAB
  • Position in MATLAB_PSO_GA folder
  • addpath('path_to_MORUS_MATLAB')
  • run one of the algorithams

Prerequisites

Examples are made in MATLAB 2019a

Built With

License

This project is licensed under the GNU License - see the LICENSE.md file for details

Acknowledgments

  • 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