Mixed integer and real parameter optimization algorithm in a robust way