[Ipopt] about state variable and control variable in IPOPT

Tony Kelman kelman at berkeley.edu
Tue Oct 28 03:45:55 EDT 2014


You can do either approach. If you have a long time horizon or complicated 
state constraints it might be beneficial to include both state and input 
variables in your optimization variable vector, and enforce your system 
dynamics as equality constraints. So z = [x; u], and you want to minimize 
f(z) s.t. g(z) = 0, h(z) <= 0. In this form the Jacobian of g and h would 
depend on both x and u. Depending on your problem structure, it's often 
better to let Ipopt handle solving equality constraints for you, rather than 
trying to do anything too clever with solving for x as a function of u at 
every iteration, which may have been what you were asking about?


-----Original Message----- 
From: Philipp Bender
Sent: Tuesday, October 28, 2014 12:23 AM
To: ipopt at list.coin-or.org
Subject: Re: [Ipopt] about state variable and control variable in IPOPT

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Kayan,

so you want to solve an optimal control problem with IpOpt?

Like: what is the best action u, given state x? (Maximize expected
reward or some such?)

I don't know if your approach is feasible at all, but if you intend
what I stated above, I think you should not make x part of your
optimization parameters, since you are interested in u. Then you have
a "normal" optimization problem, but with properties I am not aware of.

Best regards,
Philipp

- -- 
Dipl.-Ing. Philipp Bender
Wissenschaftlicher Mitarbeiter
ISPE/MPS

FZI Forschungszentrum Informatik
Haid-und-Neu-Str. 10–14
76131 Karlsruhe, Germany
Tel.: +49 721 9654-254

FZI Forschungszentrum Informatik am Karlsruher Institut für Technologie
Stiftung des bürgerlichen Rechts
Stiftung Az: 14-0563.1 Regierungspräsidium Karlsruhe
Vorstand: Prof. Dr. Andreas Oberweis, Prof. Dr. Ralf Reussner,
Jan Wiesenberger, Prof. Dr.-Ing. J. Marius Zöllner
Vorsitzender des Kuratoriums: Ministerialdirigent Günther Leßnerkraus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUT0RsAAoJEMSOzTAqQDLoBmwP/1gu3DAFwIWeW1+9UfoEbcDm
Cw2gNORSxXU/N+q9MuoioWHVeRl2PG2gIQYGLab8izAZDbmYKCHkcGMduUpRTqET
gaoHbnSNS8YtH+gFSGdNEVn+wSn/H2CJJcucxDlXa99HwNoDEFVd45hPRskpQsHK
rLpXmHv4WSFToSLw5hXOIqpLmmA9mU2uObDvjf2Bx8w4F14OZZnNqrQXwAiVl8OT
2fTvGuhfcys/Ugag5RfNcJ4H8GQVBvVA1PRJlKNQf4f+U1AbSs34Vp6YfW4r6faz
BJiTWTZUNbizbC2nBVb2Qz+p0m/vA7qwofDZCJglJXlNFjD6+P2iTTievLVE1+Q/
EbWcdINcUyQxGkZxVGcz7WlgtlhyLCt25r0QcbFi/1EPH+aOcWMfimeMS9JlU7MU
313aaERkXaN8p0/tDw+ZLhpSzyJZCMzDJQM7hpycwsbGhljIi6AT/Yn7QtNn9vZk
fQlDJpjftxG+Fql47yE45LTtkhLX/J39vHY7PuKQEF4jAy6APK6dgVa0RcO8LXqr
fsTFEtUF5DWskzct8OKevanjePsESKph1A8q3T9LwhZMngLduqBPJ34eg7sqEVUN
QSIgvjZ5Ex3b/t+YiFH7AwGFWxb4FtY69EUrThZ5u+741G0TCBbHpCjLGTktQKsk
lFPnscmyZAC70Cg0tX9q
=2Mj8
-----END PGP SIGNATURE-----
_______________________________________________
Ipopt mailing list
Ipopt at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/ipopt 



More information about the Ipopt mailing list