Direct-Collocation-Cartpole-Gym This repository implements a direct collocation method (a trajectory optimization method) to solve the classic control cartpole problem.