Thank you Johan I really appreciate your reply.
The NCP is there to handle consistency constraints between the QPs. Actually I wanted it to be a bilevel optimization problem but I only had a NCP and I couldn't figure out how to configure it as an outer problem.
So with this following code, including the KKT conditions of QPs, can I set the outer problem like this?
solvesdp([x>=0, f(x)>=0,x'*f(x)==0,KKT1,KKT2,Bounds])
"Thank you very much for your feedback. My question actually was that
what should I do If I wanted to satisfy some NCP without having an
Objective Function at hand.
For example, I solve a series of QPs independently and then I wanted to check whether some NCP is satisfied or not.
Sincerely,
Bardia"