Optimal control techniques are investigated with the goal of terminating reentry waves in cardiac tissue models. In this computational study the LuoRudy phase-I ventricular action potential model is adopted which accounts for more biophysical details of cellular dynamics as compared to previously used phenomenological models. The parabolic and ordinary differential equations are solved as a coupled system and an AMG preconditioner is used to solve the discretized elliptic equation. The numerical results demonstrate that defibrillation is possible by delivering a single strong shock. The optimal control approach also leads to successful defibrillation and demands less total current. The present study motivates us to further investigate optimal control techniques on realistic geometries by incorporating the structural heterogeneity in the cardiac tissue.