if we assume 20 is the upper bound of an objective function (OF) based on permutation a square matrix (nxn) , The minimum value of the OF=22,
then we run a random operator to compute the OF by permutative manner ( number of possible solutions = n! ).
Regarding to constrained optimization, How can we control the computation to give an error without having to run in an infinity loop?