DBSCANwith RDiscrete Optimization