Use a vector instead of a matrix to store constraint value.
Add a test for ipopt plugin.