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 | |
| list | ocp.bounds = [ [-env.umax,env.umax], ]*env.nu*NSTEPS |
| ocp.c | |
| ocp.callback = CallBack() | |
| ocp.cost | |
| ocp.env = Pendulum(1) | |
| ocp.info | |
| int | ocp.NSTEPS = 50 |
| ocp.True | |
| ocp.U | |
| ocp.U0 = zero(NSTEPS*env.nu)-env.umax | |
| — OCP resolution More... | |
| ocp.x0 = env.reset().copy() | |