My function values are going negative while i need to restrict it to zero. How do i do that?(optimal control problem)

Similar questions and discussions