solve constrained optimization in matlab