is this possible for constrained optimization?