Run a loop over all options, calculate Delta for any option and break out of the loop when it is close enough to your target delta.