Multi-Domain Multi-Objective Optimization Of Mechanisms: A General Method With Two Case Studies