Library for Numerical Optimal Control of Mixed-Integer Nonlinear Systems using D iscrete Dynamic Programming (DDP)