In the event that there is a catastrophic loss, one precaution that may be taken to decrease the likelihood of blackouts is the controlled islanding of the electrical system. This can be done to keep the power on for as long as possible. Managed islanding will result in just a limited percentage of islands being selfsufficient and capable of doing day-to-day duties without assistance from outside sources. On the other side, when islanding is implemented, not every island will have balanced generation and load. It is necessary for it to implement an effective load-shedding technique in order to encounter the power equilibrium criteria so that it can perform the functions of a balanced autonomous island. The method known as discrete evolutionary programming, or DEP, was modified for the purposes of this study in order to provide a metaheuristic that is founded on the load shedding scheme. This plan was devised to determine how much electricity should be taken from the grid in order to generate islands that are capable of supporting themselves without outside assistance. We are able to validate that the load shedding technique that has been provided is efficient by comparing it to the conventional EP method as well as the comprehensive search methodology. According to the findings, when compared to traditional EP and exhaustive search techniques. When compared side by side, these two strategies are quite different from one another.