Text this: Multi-Criteria Optimal Path Planning of Flexible Robots