def METHOD_NAME(self):
    self.add_subsystem('indep_var_comp', IndepVarComp('x'), promotes=['*'])
    self.add_subsystem('Cy', ExecComp('y=2*x'), promotes=['*'])
    self.add_subsystem('Cc', ExecComp('c=x+2'), promotes=['*'])
    self.add_design_var('x')
    self.add_constraint('c', lower=-3.)