$ontext We model a QVI example Box3A taken from the following paper: QVILIB: A library of quasi-variational inequality test problems, Francisco Facchinei, Christian Kanzow, and Simone Sagratella, 2012 Our framework finds a solution. Contributor: Youngdae Kim (06.18.2017) $offtext set i; alias(i,j); parameter A(i,j), b(i), M(i,j), s(i), c(i), t(i), d(i); $if not exist qvi_box3a.gdx $error "qvi_box3a.gdx does not exist" $gdxin qvi_box3a $loadidx A b M s c t d $gdxin variable y(j), x(j); equations F(i), g1(i), g2(i); F(i).. sum(j, A(i,j)*y(j)) + b(i) + sum(j, M(i,j)*power(y(j),3)) =N= 0; g1(i).. y(i) - s(i)*x(i) - c(i) =L= 0; g2(i).. -y(i) + t(i)*x(i) - d(i) =L= 0; model box3a / F, g1, g2 /; file empinfo / '%emp.info%' /; putclose empinfo 'qvi F y x g1 g2'; * Set the starting point to the value described in the paper y.l(i) = 10; solve box3a using emp; display y.l, x.l;