Generates a problema solution using discrete leves
generateSolution(parameters, size)
parameters
The Objective Function parameter list
size
The solution size
The solution set