TST: optimize: simplex shouldn't overwrite user input

Just a sanity check; didn't see the algorithm change its inputs.

Changed a test that triggered a write to Aub, which should (and is)
a copy made inside the algorithm.
Merge pull request #4109 from larsmans/simplex-test

TST: optimize: simplex shouldn't overwrite user input