Update ampl.
Remove dead code.
Add Bonmin unit test and fix dependencies.