fixed a bug in IPopt FVA optimization