Classes | |
class | CallBack |
Functions | |
def | cost (U) |
def | display (U, verbose=False) |
Variables | |
approx_grad | |
tuple | bounds |
c | |
callback = CallBack() | |
cost | |
env = Pendulum(1) | |
info | |
int | NSTEPS = 50 |
True | |
U | |
U0 = np.zeros(NSTEPS * env.nu) - env.umax | |
— OCP resolution More... | |
x0 = env.reset().copy() | |
Example of optimal control resolution by direct optimization of a single trajectory.
def ocp.cost | ( | U | ) |
ocp.bounds |
ocp.U0 = np.zeros(NSTEPS * env.nu) - env.umax |