<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear all,<div><br></div><div>after having discovered Ipopt last month, I have thought using it in my academic research for optimizing the power use of a dynamic of a point mass train.</div><div><br></div><div>Due to the optimal control nature of the problem, I understand that the problem must be discretized (by an Euler method, pe). The problem has the next structure:</div><div><br></div><div>min J(x, u) = Integral[0, T](f(x, u)ˇdt);</div><div>dx/dt = y(x, u);</div><div>g(x, u) >= K;</div><div>x_min <= x <= x_max;</div><div>u_min <= u <= u_max;</div><div>x(0) = x0;</div><div><br></div><div>I have test and understand the examples provided with Ipopt and other users, but all of them are about continuos time problems. The only discrete systems problems I have found are used throught AMPL interface mostly, but I would like using Ipopt throught the C++ interface because it should be embeded within a standalone application.</div><div><br></div><div>Please, does anyone knows of some link where there aer an example of how to use Ipopt with a discretized system using c++ interface? Might anybody provide me with any source code example?</div><div><br></div><div>Best regards,</div><div>Pablo</div>                                       </div></body>
</html>