From a long time, I meet an optimal control problem, but i don't know how to solve it. Well, to be more specific,
Suppose we have following dynamic system and cost function,
\begin{cases}
\ddot{y}=\dot{y}-rv \\
J_{max}=\int_{0}^{\infty}e^{-\rho t}[(1-\frac{v}{2})v-\sigma y]dt,v\in[0,1]
\end{cases}
where $\rho$ is a discount factor, $r$ are parameters, $v$ is control, is a random variable, my question is how to solve this kind of question, determine y(t) and control v(t), $\sigma$ is a random variable with prabability discrete distribution function, for explicitly, $\sigma$ is a uniform distribution, when $ 0<\sigma<5 $,f($\sigma$)=$\frac{1}{5}$, else, f($\sigma$)= 0.
if dymamic system is first order differential equation, I know how to solve it, normally it can be use PMP or HJB. Does anyone can be give me some suggestions or comments? Thanks a lot.
Any higher order ordinary differential equation can be turned into a system of first order ordinary differential equations. For example by choosing each next element of the state vector as the derivative of the previous element.
So in your case $\ddot{y}=\dot{y}-rv$ can also be written as \begin{align} \dot{x}_1 &= x_2, \\ \dot{x}_2 &= x_2 - rv, \end{align}
with $x_1=y$ and $x_2=\dot{y}$. After switching to this formulation one can use the normal approach, such as PMP or HJB.