Deep changes: now OptimalShapeDesign.py works with pyipopt.