Fixes for the old scripts/optimisation_testing.py script.
This was also using the ancient self.relax code path.
Authored by: bugman 2011-08-11
Parent: [r14335]
Child: [r14337]