Add new features

- Retrieve number of nonzeros
- Evaluate objective function and constraints