add ipopt formula