1. The entire population tends to converge toward the optimum, provided (that) the initial guess is good enough.
2. The entire population tends to converge toward the optimum, if the initial guess is good enough.
Do we have to use comma before provided and if in these sentences?. I sometimes see them written without a comma. Is it compulsory or any spesific usage on it?