adds constraints on COBYLA