Source code from Solving Optimization Problems Using Evolutionary Computation Algorithms in Java class