To optimize electricity cost the pso algorithm is used..I have electricity consumption of single house data set ...the pso algorithm should read the values from my dataset and calculate the cost and it should provide optimized values of electricity consumption coding is done in Python...can some body help me.