{
  "_id": "6afad97f69eab6fdff2d4832",
  "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-11-16 09:53:32 UTC",
    "User": "root"
  },
  "Author": "Christophe Dutang [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-6732-1501>)",
  "Maintainer": "Christophe Dutang <dutangc@gmail.com>",
  "_user": "r-forge",
  "_type": "src",
  "_file": "GNE_0.99-7.tar.gz",
  "_fileid": "https://r2.ropensci.org/b31e5e76c9957d874af2fbb12ef1815fb29545d926749d93bf4781dc4deada16",
  "_filesize": 528067,
  "_sha256": "b31e5e76c9957d874af2fbb12ef1815fb29545d926749d93bf4781dc4deada16",
  "_expires": "2027-02-24T10:22:53.000Z",
  "_created": "2026-11-16T09:53:32.000Z",
  "_published": "2026-11-16T10:22:55.709Z",
  "_upstream": "https://github.com/r-forge/optimizer",
  "_status": "success",
  "_maintainer": {
    "name": "Christophe Dutang",
    "email": "dutangc@gmail.com",
    "login": "dutangc",
    "description": "Assistant professor at Grenoble INP, France",
    "uuid": 6387382,
    "orcid": "0000-0001-6732-1501"
  },
  "_jobs": [
    {
      "job": 133219170621,
      "time": 105,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14214312083"
    },
    {
      "job": 133219170636,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14215150326"
    },
    {
      "job": 133219170888,
      "time": 100,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14214661780"
    },
    {
      "job": 133219170629,
      "time": 109,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14213584596"
    },
    {
      "job": 133219170617,
      "time": 147,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14215978296"
    },
    {
      "job": 133219170654,
      "time": 285,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14215971694"
    },
    {
      "job": 133219170668,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14216516717"
    },
    {
      "job": 133219170616,
      "time": 293,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14214579731"
    },
    {
      "job": 133217562890,
      "time": 185,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14214276592"
    },
    {
      "job": 133219170661,
      "time": 81,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14214945746"
    },
    {
      "job": 133219170652,
      "time": 197,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14213229412"
    },
    {
      "job": 133219170765,
      "time": 113,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14214356728"
    },
    {
      "job": 133219170714,
      "time": 97,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14214581853"
    },
    {
      "job": 133219170697,
      "time": 233,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14213619232"
    },
    {
      "job": 133219170781,
      "time": 88,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14214062711"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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",
    "followers": 28,
    "description": "git-svn mirrors from https://r-forge.r-project.org/"
  },
  "_downloads": {
    "count": 439,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/GNE"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/r-forge/optimizer",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/GNE.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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": 4.903089986991944,
  "_indexed": true,
  "_nocasepkg": "gne",
  "_universes": [
    "r-forge",
    "dutangc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.99-7",
      "date": "2026-11-16T09:55:16.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/6b93913846009b84f95801921ed08f0c68fc99b6679319a7646e57072e4a319d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.99-7",
      "date": "2026-11-16T09:55:30.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/c5efc49479b29bb6508e7c15927cd9fc0a39719bb63f19415b8edc4a035d3590",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.99-7",
      "date": "2026-11-16T09:55:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/4d527ca6ab4775fcbcd294ff189878dd8ff2598c28692bbca18f5ec8dd47bc39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.99-7",
      "date": "2026-11-16T09:55:24.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/3ee86f4f0b9e63e72e301a2b97b1dab11e67b53ac949c90fd25f02b64c576d91",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.99-7",
      "date": "2026-11-16T10:21:56.000Z",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/e7d587bee6a21532d1fcccc442300c001c751c43a926a9ab24386af3a08325ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.99-7",
      "date": "2026-11-16T10:16:19.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/cd2e3f298aeca937222b03da0f8d0bf03d6de666977be8f2137fcaed5592fcd9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.99-7",
      "date": "2026-11-16T10:21:10.000Z",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/ab6d5e9b80e93103f1973d1a475a711708ccfb2302089a44bf2c04fd3bf9d251",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.99-7",
      "date": "2026-11-16T10:16:47.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/0057f268d3aa3d2a465efece835c9585ee04e4a23df50bfe6c7dd9e445dd92c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.99-7",
      "date": "2026-11-16T09:55:17.000Z",
      "arch": "emscripten",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/e476dfd47b851881238e73cf2f6a3549d1ff8b58a1079998d9ea31f68c1f7c3e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.99-7",
      "date": "2026-11-16T09:56:26.000Z",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/0eba3d82b8027ed08343fa2d8c489ffe1b89f9081b4000613d0d5b875f146026",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.99-7",
      "date": "2026-11-16T09:54:39.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/9702441fce441336751e03ab410fffb385a9cd2840295f24004f9b5c7a5adcfe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.99-7",
      "date": "2026-11-16T09:54:45.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/34ce339de5ed2d7a1ad594d9268af5f2bc1c0ceda616321f67089363c2ad0ed7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.99-7",
      "date": "2026-11-16T09:57:05.000Z",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/1001fc9574ede9f850c2d7feec7d131b33b07f03fcf0c9c1712ecda16fc6b2ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.99-7",
      "date": "2026-11-16T09:54:46.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/b4e5cb4cb16ec400df744073ea281e96971522ce4689d0f11fbca74110cd2027",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/43843392139"
    }
  ]
}