Fix broken constant parameter blocks

This fixes the bug introduced in a previous commit,
and adds a test to check that constant parameter
blocks work as expected.

This also refactors the Solver/SolverImpl split so
that SolverImpl is no longer a friend of Problem;
instead, Solver is. This makes it possible to
verify the invariant on parameter block states in
the unit test, and is a more symmetric design
anyway.

Bug: 51
Change-Id: Id503f5b526cfb8bc24aae3aaad2e414b14063d78
7 files changed
tree: 36bb3c0738a93520aa87c6e8f94401937987dd5d
  1. data/
  2. docs/
  3. examples/
  4. include/
  5. internal/
  6. .gitignore
  7. CMakeLists.txt
  8. LICENSE
  9. README