JAX and numba implementations of the fast upper envelope scan for solving discrete-continuous dynamic programming problems