C++ Object-Oriented Interior Point Method