Discrete applied mathematics