YALMIP sometimes adds temporary equalities which can be part of a GP. Hence, don't rule out GP if those are detected