Flexible optimization framework for partner selection in agile manufacturing