Feature/261 optimization constraints cannot be enabled