Text this: Optimal control of dinamic operations research models