$ontext We model a QVI example Box2B 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), s(i), c(i), t(i), d(i); $if not exist qvi_box2b.gdx $error "qvi_box2b.gdx does not exist" $gdxin qvi_box2b $loadidx A b 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) + exp(y(i)) =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 box2b / 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 box2b using emp; display y.l, x.l;