We prove that, for two simple functions , solving the online assignment problem with as the contribution for assigning resource to task at time gives the optimal solution to the corresponding offline assignment problem (provided the optimal offline solution is unique). We call such functions optimal discount functions.