Active constraint strategy for flexibility analysis in chemical processes