Numerical Methods for Solving Discrete Event Systems