Go to the source code of this file.
Classes | |
| class | ocp.CallBack |
Namespaces | |
| ocp | |
Functions | |
| def | ocp.cost (U) |
| def | ocp.display (U, verbose=False) |
Variables | |
| ocp.approx_grad | |
| tuple | ocp.bounds |
| ocp.c | |
| ocp.callback = CallBack() | |
| ocp.cost | |
| ocp.env = Pendulum(1) | |
| ocp.info | |
| int | ocp.NSTEPS = 50 |
| ocp.True | |
| ocp.U | |
| ocp.U0 = np.zeros(NSTEPS * env.nu) - env.umax | |
| ocp.x0 = env.reset().copy() | |