This project implements a Monte Carlo simulation using triangular membership functions and a Particle Swarm Optimization (PSO) algorithm to find optimal solutions for cost parameters.
- Python 3.x
- NumPy
- Matplotlib
- Triangular Membership Function: Defines and plots membership functions for given cost parameters.
- Monte Carlo Simulation: Simulates defuzzified values for given cost ranges using the triangular membership functions.
- Particle Swarm Optimization (PSO): Optimizes cost values using the defuzzified results from the Monte Carlo simulation.
- The defuzzified values for COST1 and COST2.
- The optimized results from the PSO algorithm.
- The average and best fitness values.
- The corresponding s1 and s2 values.