next attempt using NLopt

vector equality constraints seem not to work