Changed public data members to private

I have implemented and primarily used getters for the constraint optimizer members, they were initially set to public for testing purposes. Now I have set them back to private. The enum must remain public for identifying the output of solve.