Scheduling optimization in a refinery for vegetable oils