{
  "_id": "6a1ee1b0b401979e73410ab2",
  "Package": "GNE",
  "Type": "Package",
  "Title": "Computation of Generalized Nash Equilibria",
  "Version": "0.99-7",
  "Authors@R": "person(\"Christophe\", \"Dutang\", role = c(\"aut\", \"cre\"),\nemail = \"dutangc@gmail.com\", comment = c(ORCID = \"0000-0001-6732-1501\"))",
  "Description": "Compute standard and generalized Nash Equilibria of\nnon-cooperative games. Optimization methods available are\nnonsmooth reformulation, fixed-point formulation, minimization\nproblem and constrained-equation reformulation. See e.g. Kanzow\nand Facchinei (2010), <doi:10.1007/s10479-009-0653-x>.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "BuildVignettes": "true",
  "URL": "https://r-forge.r-project.org/projects/optimizer/",
  "Repository": "https://r-forge.r-universe.dev",
  "Date/Publication": "2025-01-04 15:10:34 UTC",
  "RemoteUrl": "https://github.com/r-forge/optimizer",
  "RemoteRef": "HEAD",
  "RemoteSha": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
  "RemoteSubdir": "pkg/GNE",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-20 06:54:56 UTC",
    "User": "root"
  },
  "Author": "Christophe Dutang [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-6732-1501>)",
  "Maintainer": "Christophe Dutang <dutangc@gmail.com>",
  "MD5sum": "7b504396f1b55139e914a1a17a79547b",
  "_user": "r-forge",
  "_type": "src",
  "_file": "GNE_0.99-7.tar.gz",
  "_fileid": "13b7f8029633e44eb93929529ba0744b1bbbf708da24b07506b0bdad3a234424",
  "_filesize": 529503,
  "_sha256": "13b7f8029633e44eb93929529ba0744b1bbbf708da24b07506b0bdad3a234424",
  "_created": "2026-05-20T06:54:56.000Z",
  "_published": "2026-06-02T13:59:12.115Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79088228764,
      "time": 122,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7103240376"
    },
    {
      "job": 79088228292,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7103242199"
    },
    {
      "job": 79088229558,
      "time": 125,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7103240694"
    },
    {
      "job": 79088228814,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7103239810"
    },
    {
      "job": 79088229322,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7103277101"
    },
    {
      "job": 79088228635,
      "time": 200,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7103275802"
    },
    {
      "job": 79088228083,
      "time": 88,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7103255626"
    },
    {
      "job": 79088228319,
      "time": 312,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7103315125"
    },
    {
      "job": 79088226936,
      "time": 234,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7103205957"
    },
    {
      "job": 79088227417,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7359824335"
    },
    {
      "job": 79088228242,
      "time": 111,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7103237233"
    },
    {
      "job": 79088228443,
      "time": 97,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7103233296"
    },
    {
      "job": 79088228563,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-forge/actions/runs/26146426784",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/r-forge/optimizer",
  "_commit": {
    "id": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
    "author": "nashjc (Prof ) <nashjc@uottawa.ca>",
    "committer": "nashjc (Prof ) <nashjc@uottawa.ca>",
    "message": "nlsr\n\n\ngit-svn-id: svn://svn.r-forge.r-project.org/svnroot/optimizer@1946 edb9625f-4e0d-4859-8d74-9fd3b1da38cb\n",
    "time": 1736003434
  },
  "_maintainer": {
    "name": "Christophe Dutang",
    "email": "dutangc@gmail.com",
    "login": "dutangc",
    "description": "Assistant professor at Grenoble INP, France",
    "uuid": 6387382,
    "orcid": "0000-0001-6732-1501"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "alabama",
      "role": "Depends"
    },
    {
      "package": "nleqslv",
      "role": "Depends"
    },
    {
      "package": "BB",
      "role": "Depends"
    },
    {
      "package": "SQUAREM",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "r-forge",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "nashjc",
      "count": 1320,
      "uuid": 3526572
    },
    {
      "user": "lmsstudios",
      "count": 161,
      "uuid": 97995137
    },
    {
      "user": "dutangc",
      "count": 73,
      "uuid": 6387382
    },
    {
      "user": "dmbates",
      "count": 67,
      "uuid": 371258
    },
    {
      "user": "dmurdoch",
      "count": 36,
      "uuid": 1935680
    },
    {
      "user": "k-m-m",
      "count": 22,
      "uuid": 4985137
    },
    {
      "user": "imstatsbee",
      "count": 5,
      "uuid": 38984348
    },
    {
      "user": "hwborchers",
      "count": 3,
      "uuid": 1954450
    },
    {
      "user": "theussl",
      "count": 1,
      "uuid": 22165873
    }
  ],
  "_userbio": {
    "uuid": 75573726,
    "type": "organization",
    "name": " R-Forge",
    "description": "git-svn mirrors from R-Forge"
  },
  "_downloads": {
    "count": 207,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/GNE"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/r-forge/optimizer",
  "_searchresults": 14,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/GNE.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/r-forge/optimizer",
  "_realowner": "r-forge",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.98",
      "date": "2014-06-11"
    },
    {
      "version": "0.99-0",
      "date": "2014-07-31"
    },
    {
      "version": "0.99-1",
      "date": "2015-07-20"
    },
    {
      "version": "0.99-2",
      "date": "2018-08-09"
    },
    {
      "version": "0.99-3",
      "date": "2020-01-08"
    },
    {
      "version": "0.99-3.1",
      "date": "2022-05-23"
    },
    {
      "version": "0.99-4",
      "date": "2022-05-23"
    },
    {
      "version": "0.99-5",
      "date": "2023-03-30"
    },
    {
      "version": "0.99-6",
      "date": "2024-10-17"
    }
  ],
  "_exports": [
    "bench.GNE.ceq",
    "bench.GNE.fpeq",
    "bench.GNE.minpb",
    "bench.GNE.nseq",
    "compl.par",
    "decrstep",
    "decrstep10",
    "decrstep20",
    "decrstep5",
    "fpNIR",
    "fpVIR",
    "funCER",
    "funSSR",
    "gapNIR",
    "gapVIR",
    "GNE",
    "GNE.ceq",
    "GNE.fpeq",
    "GNE.minpb",
    "GNE.nseq",
    "gradpotential.ce",
    "gradpsi.ce",
    "gradxgapNIR",
    "gradxgapVIR",
    "gradygapNIR",
    "gradygapVIR",
    "GrAphiFB",
    "GrAphiKK",
    "GrAphiLT",
    "GrAphiMan",
    "GrAphiMin",
    "GrAphipFB",
    "GrBphiFB",
    "GrBphiKK",
    "GrBphiLT",
    "GrBphiMan",
    "GrBphiMin",
    "GrBphipFB",
    "jacCER",
    "jacSSR",
    "phiFB",
    "phiKK",
    "phiLT",
    "phiMan",
    "phiMin",
    "phipFB",
    "potential.ce",
    "projector",
    "psi.ce",
    "purestep",
    "rejection"
  ],
  "_help": [
    {
      "page": "GNE.bench",
      "title": "Benchmark function",
      "topics": [
        "bench.GNE",
        "bench.GNE.ceq",
        "bench.GNE.fpeq",
        "bench.GNE.minpb",
        "bench.GNE.nseq"
      ]
    },
    {
      "page": "util-CER",
      "title": "Constrained Equation Reformulation",
      "topics": [
        "CER",
        "funCER",
        "jacCER"
      ]
    },
    {
      "page": "util-complementarity",
      "title": "Complementarity functions",
      "topics": [
        "compl.par",
        "complementarity",
        "GrAphiFB",
        "GrAphiKK",
        "GrAphiLT",
        "GrAphiMan",
        "GrAphiMin",
        "GrAphipFB",
        "GrAphirFB",
        "GrBphiFB",
        "GrBphiKK",
        "GrBphiLT",
        "GrBphiMan",
        "GrBphiMin",
        "GrBphipFB",
        "GrBphirFB",
        "phiFB",
        "phiKK",
        "phiLT",
        "phiMan",
        "phiMin",
        "phipFB",
        "phirFB",
        "print.compl.par",
        "summary.compl.par"
      ]
    },
    {
      "page": "eqsolve.depr",
      "title": "Solving non linear equations",
      "topics": [
        "eqsolve"
      ]
    },
    {
      "page": "GNE",
      "title": "GNE package",
      "topics": [
        "GNE"
      ]
    },
    {
      "page": "GNE.ceq",
      "title": "Constrained equation reformulation of the GNE problem.",
      "topics": [
        "GNE.ceq"
      ]
    },
    {
      "page": "GNE.fpeq",
      "title": "Fixed point equation reformulation of the GNE problem.",
      "topics": [
        "GNE.fpeq"
      ]
    },
    {
      "page": "GNE.minpb",
      "title": "Non smooth equation reformulation of the GNE problem.",
      "topics": [
        "GNE.minpb"
      ]
    },
    {
      "page": "GNE.nseq",
      "title": "Non smooth equation reformulation of the GNE problem.",
      "topics": [
        "GNE.nseq"
      ]
    },
    {
      "page": "util-NIR",
      "title": "Nikaido Isoda Reformulation",
      "topics": [
        "fpNIR",
        "gapNIR",
        "gradxgapNIR",
        "gradygapNIR"
      ]
    },
    {
      "page": "util-potentreduc",
      "title": "Potential reduction algorithm utility functions",
      "topics": [
        "gradpotential.ce",
        "gradpsi.ce",
        "potential.ce",
        "psi.ce"
      ]
    },
    {
      "page": "util-projection",
      "title": "Projection of a point on a set",
      "topics": [
        "Projector",
        "projector"
      ]
    },
    {
      "page": "util-rejectalgo",
      "title": "Rejection method for random generation.",
      "topics": [
        "rejection"
      ]
    },
    {
      "page": "util-SSR",
      "title": "SemiSmooth Reformulation",
      "topics": [
        "funSSR",
        "jacSSR",
        "SSR"
      ]
    },
    {
      "page": "util-stepfunc",
      "title": "Step functions",
      "topics": [
        "decrstep",
        "decrstep10",
        "decrstep20",
        "decrstep5",
        "purestep",
        "stepfunc"
      ]
    },
    {
      "page": "util-VIR",
      "title": "Nikaido Isoda Reformulation",
      "topics": [
        "fpVIR",
        "gapVIR",
        "gradxgapVIR",
        "gradygapVIR"
      ]
    }
  ],
  "_readme": "https://github.com/r-forge/optimizer/raw/HEAD/pkg/GNE/README.md",
  "_rundeps": [
    "alabama",
    "BB",
    "nleqslv",
    "numDeriv",
    "quadprog",
    "SQUAREM"
  ],
  "_vignettes": [
    {
      "source": "GNE-optim-bench.Rmd",
      "filename": "GNE-optim-bench.html",
      "title": "Optimization benchmark with the GNE package",
      "author": "Christophe Dutang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "GNEP as a nonsmooth equation",
        "Notation and definitions",
        "A classic example",
        "Usage example",
        "Localization of the GNEs",
        "Benchmark of the complementarity functions and the computation methods",
        "Initial point $z_0 = (4, -4,  1,  1)$",
        "Initial point $z_0 = (-4, 4,  1,  1)$",
        "Initial point $z_0 = (3, 0,  1,  1)$",
        "Initial point $z_0 = (0, 3, 1, 1)$",
        "Initial point $z_0 = (-1, -1, 1,  1)$",
        "Initial point $z_0 = (0, 0, 1,  1)$",
        "Conclusions",
        "Special case of shared constraints with common multipliers",
        "Constrained-equation reformulation of the KKT system",
        "GNEP as a fixed point equation or a minimization problem",
        "NI reformulation",
        "QVI reformulation",
        "The jointly convex case",
        "In this subsection, we present reformulations for a subclass of GNEP called jointly convex case.Firstly, the jointly convex setting requires that the constraint function is common to all players $g^1=\\dots =g^N= g$.Then, we assume, there exists a closed convex subset $X \\subset \\R^n$ such that for all player $i$,$$",
        "NIF formulation for the jointly convex case",
        "QVI formulation for the jointly convex case",
        "List of examples",
        "Tables for the nonsmooth reformulation",
        "Appendix for the nonsmooth reformulation",
        "\\subsection{Semismooth reformulation -- Shared constraint case\\label{app:ceq:jointcase}}The Jacobian is given by$$\\Jac \\widetilde H(x, \\tilde \\lambda, \\tilde w) =\\left(\\begin{matrix}\\Jac_x \\bar L (x, \\tilde \\lambda)  & \\Jac_{\\tilde \\lambda} \\bar L (x, \\tilde \\lambda)    & 0 \\\\Jac_x \\tilde g(x) & 0 & I \\0 & \\diag[\\tilde w] & \\diag[\\tilde \\lambda]\\end{matrix}\\right),$$where$$\\Jac_{\\tilde \\lambda} \\bar L (x, \\tilde \\lambda)"
      ],
      "created": "2023-03-29 19:59:07",
      "modified": "2024-10-17 14:21:24",
      "commits": 3
    }
  ],
  "_score": 5.049218022670182,
  "_indexed": true,
  "_nocasepkg": "gne",
  "_universes": [
    "r-forge",
    "dutangc"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.99-7",
      "date": "2026-04-20T05:56:25.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "d9aaf3f634e65719533a3eb136083e0b3b9afce0e8fb96267d26567e09b63d49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/24650695755"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.99-7",
      "date": "2026-05-20T06:56:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "f535edafac52c57b3f0ef7df92fcc6044baf7e9bba68cf3ee8c49d800112d7f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26146426784"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.99-7",
      "date": "2026-05-20T06:57:00.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "2612d94768aed40bc7ed68751fd57d9fe3510ae98ee031d27f5828aeaa579f39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26146426784"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.99-7",
      "date": "2026-05-20T06:57:01.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "518b99d53b7d2501999f87b820b4fe1f1055f41b5d6f5aeca61d0a2a3b73b4a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26146426784"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.99-7",
      "date": "2026-05-20T06:56:56.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "ff603e585b08e32152c66422f49ff1134d9557fa7384446067595e8e3ee72b7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26146426784"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.99-7",
      "date": "2026-05-20T06:59:13.000Z",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "126761c159e56b68fa1bb57dbeeb591826f4f48ab58e2fe5d8325984692bb3dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26146426784"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.99-7",
      "date": "2026-05-20T06:58:52.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "fecdddc1d12b0150760f1bc8dd9edb2f4b655fb417c3f0151681051bacc940c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26146426784"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.99-7",
      "date": "2026-05-20T06:57:58.000Z",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "514ff37cf61f8d2efe9ce0e5b6fd639bd6c125d7abe489aa282f7724dac44f01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26146426784"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.99-7",
      "date": "2026-05-20T07:00:10.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "5725b124d1c9d9035bfaa4ef19eea54b2aa8c62f901d17fe3dea1bc85bcbb516",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26146426784"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.99-7",
      "date": "2026-05-20T06:56:19.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "1b313ea4333d8f4bd41a695ea13bf7ab1a6c277c72adb6a5078f114d9148a01b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26146426784"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.99-7",
      "date": "2026-05-20T06:56:14.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "d50297acaefd8e9dd51030e2598b9a8306f938c238b1825dbc44b42818210d6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26146426784"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.99-7",
      "date": "2026-06-02T13:58:44.000Z",
      "arch": "emscripten",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "7187c032b2ad2c5b201b09e1986885899bf5b2289c41104a4f04a21f88058333",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/26146426784"
    }
  ]
}